Access to the stdin lines as described by Git
Open
enhancement
minor
- Dominant language
- JavaScript
- Stars
- 170
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.