mislav/git-deploy — pull request #19 by blt (2012-01-20 02:58:07+00:00)
Title: Set bash in Interactive mode and exit on errors in post-receive hook.

In interactive mode users' /etc/bash.bashrc (or /etc/bashrc, depending on OS) and ~/.bashrc will be sourced, allowing rbenv and RVM installations to be used without continual re-editing of deploy scripts. 'set -e' merely stops execution on failure of a sub-command. No runtime penalty for either change is incurred.