saltstack/salt — pull request #1587 by blast-hardcheese (2012-07-06 23:44:40+00:00)
Title: "git checkout" needs to be run as "runas"

Any files created when switching branches were owned by root, which
makes the directory effectively unusable by the intended user.