adding before commit to available info for build.

adding before commit to available info for build. will help with diff for using like post-receive hook (oldrev / newrev)
Merge pull request #270 from endzyme/patch-1

adding before commit to available info for build.