edlane/salt — pull request #1 by edlane (2013-01-25 09:31:32+00:00)
Title: Spurious error messages on CentOS 6.3 machines without "git" installed

On stock centOS 6.3 machines without "git" installed the command "which git"

returns an error to stderr and as a consequence every Salt command prints this
same error to the screen. This one-line fix prevents this from occurring.

If "git" is not used then it should not be generating these spurious error messages.