Open
Description
Would be really useful if we could get hold of the actual input used when running pre-push as described here:
http://git-scm.com/docs/githooks#_pre_push
...and used in action in the sample here:
https://github.com/git/git/blob/master/templates/hooks--pre-push.sample
Seems git itself takes control of the stdin; I've had a look at least, and cannot seem to access this information cleanly, if at all.
Would certainly be useful to ascertain the actual branch being pushed, as it would be possible for a user to push a branch that is different to their current active branch.