nesi/puppet-git — pull request #34 by b4ldr (2014-02-03 14:36:05+00:00)
Title: Remove -l parameter from su.  Changed branch to real branch

The -l switch in su causes the CWD to be changed to the users home directory. if this is different to the repo path git commands fail.

some git commands where still using ${branch} instead of ${real_branch}. this caused failures if no branch was specified