Re*: Documentation of post-receive hook

2017-11-23 Thread Junio C Hamano
Junio C Hamano writes: > Your suggesting to mention that particular message hints at me that > you feel that the users may not necessarily understand that push did > not result in any update of references on the other side when they > see it. If the message was clear enough to them, "when it rea

Re: Documentation of post-receive hook

2017-11-22 Thread Christoph Michelbach
On Wed, 2017-11-22 at 10:14 +0900, Junio C Hamano wrote: > Your suggesting to mention that particular message hints at me that > you feel that the users may not necessarily understand that push did > not result in any update of references on the other side when they > see it.  If the message was cl

Re: Documentation of post-receive hook

2017-11-21 Thread Junio C Hamano
Christoph Michelbach writes: > On November 20, 2017 2:17:58 AM GMT+01:00, >>How about this rewrite? Would it consider all the points raised and >>make it easier to understand? >> >>This hook is invoked by 'git-receive-pack' when it reacts to >>'git push' and updates reference(s) in its

Re: Documentation of post-receive hook

2017-11-21 Thread Christoph Michelbach
On November 20, 2017 2:17:58 AM GMT+01:00, >How about this rewrite? Would it consider all the points raised and >make it easier to understand? > >This hook is invoked by 'git-receive-pack' when it reacts to >'git push' and updates reference(s) in its repository. I think it's much more

Re: Documentation of post-receive hook

2017-11-19 Thread Junio C Hamano
Christoph Michelbach writes: > On Fri, 2017-11-17 at 12:24 +0900, Junio C Hamano wrote: >> So an updated suggestion for the text would be: >> >> This hook is invoked by 'git-receive-pack' on the remote repository, >> which happens when a 'git push' is done on a local repository. >> >>

Re: Documentation of post-receive hook

2017-11-19 Thread Christoph Michelbach
On Sun, 2017-11-19 at 12:42 -0500, Robert P. J. Day wrote: > On Sun, 19 Nov 2017, Christoph Michelbach wrote: > > > > > On Fri, 2017-11-17 at 12:24 +0900, Junio C Hamano wrote: > > > > > > So an updated suggestion for the text would be: > > >   > > >   This hook is invoked by 'git-receive-pa

Re: Documentation of post-receive hook

2017-11-19 Thread Robert P. J. Day
On Sun, 19 Nov 2017, Christoph Michelbach wrote: > On Fri, 2017-11-17 at 12:24 +0900, Junio C Hamano wrote: > > So an updated suggestion for the text would be: > >  > >  This hook is invoked by 'git-receive-pack' on the remote repository, > >  which happens when a 'git push' is done on a l

Re: Documentation of post-receive hook

2017-11-19 Thread Christoph Michelbach
On Fri, 2017-11-17 at 12:24 +0900, Junio C Hamano wrote: > So an updated suggestion for the text would be: >  >  This hook is invoked by 'git-receive-pack' on the remote repository, >  which happens when a 'git push' is done on a local repository. >  > Oh, wait.  That is what we already hav

Re: Documentation of post-receive hook

2017-11-16 Thread Junio C Hamano
Junio C Hamano writes: >> This hook is invoked by 'git-receive-pack' on the remote repository, >> which happens when a 'git push' is done on a local repository and >> successfully transfers at least 1 commit. > > I am not sure "at least 1 commit" is a good phrase to use here. > There

Re: Documentation of post-receive hook

2017-11-16 Thread Junio C Hamano
Christoph Michelbach writes: > I think the documentation of the post-receive hook is misleading. When reading > it, it appears as though the post-receive hook is executed even when no > commits > are transferred by a git push because it isn't mentioned anywhere that this is > necessary for its e

Documentation of post-receive hook

2017-11-16 Thread Christoph Michelbach
Hi, I think the documentation of the post-receive hook is misleading. When reading it, it appears as though the post-receive hook is executed even when no commits are transferred by a git push because it isn't mentioned anywhere that this is necessary for its execution. This can easily be fixed b