saltstack/salt — pull request #1639 by dekkers (2012-07-16 18:15:20+00:00)
Title: Show diff with test=True

When using the test interface, call cp.cache_file on files that are different so that we are able to calculate the diff. This shows the diff when running with test=True on non-template files, for template files we already downloaded and rendered the file.