Re: Feature Request: provide cmdline args to git hooks

2015-04-14 Thread Chris O'Kelly
> I do not offhand know (I am on a bus with terrible connection so I > won't bother checking the source now) if we send "this ref has to > point at that object" even for STATUS_UPTODATE cases, to cause your > remote to trigger the receive hook in the frist place, but if that > is the case, then the

Re: Feature Request: provide cmdline args to git hooks

2015-04-14 Thread Chris O'Kelly
Unfortunately in this case we don't have control over the hooks at the receiving end - we want to prevent tags from being pushed by all users to these repo's. On Wed, Apr 15, 2015 at 1:08 AM, Junio C Hamano wrote: > "Chris O'Kelly" writes: > >> A brief backg

Feature Request: provide cmdline args to git hooks

2015-04-13 Thread Chris O'Kelly
Hello, Just a brief note about a feature I would find incredibly useful, were it available. A brief background of my use case: I am wanting to write a pre-push hook to prevent tags being pushed to our production servers. The production servers in our case are --bare endpoints, and when we push a t