Re: [PATCH v2] receive-pack: support push-to-checkout hook

2015-01-09 Thread Johannes Schindelin
Hi Junio, On Thu, 8 Jan 2015, Junio C Hamano wrote: * This is an update to $gmane/260527; relative to what I have been keeping in 'pu', the only difference is that it comes with documentation updates. Thanks, it is very nice! Dscho -- To unsubscribe from this list: send the line

[PATCH v2] receive-pack: support push-to-checkout hook

2015-01-08 Thread Junio C Hamano
When receive.denyCurrentBranch is set to updateInstead, a push that tries to update the branch that is currently checked out is accepted only when the index and the working tree exactly matches the currently checked out commit, in which case the index and the working tree are updated to match the