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)