Re: [PATCH v4] Add another option for receive.denyCurrentBranch

2014-11-26 Thread Junio C Hamano
Johannes Schindelin writes: > +Another option is "updateInstead" which will update the working > +directory (must be clean) if pushing into the current branch. This option is > +intended for synchronizing working directories when one side is not easily > +accessible via interactive ssh (e.g. a li

[PATCH v4] Add another option for receive.denyCurrentBranch

2014-11-26 Thread Johannes Schindelin
When synchronizing between working directories, it can be handy to update the current branch via 'push' rather than 'pull', e.g. when pushing a fix from inside a VM, or when pushing a fix made on a user's machine (where the developer is not at liberty to install an ssh daemon let alone know the use