Re: [RFC/PATCH v2 3/3] Add 'update-branch' hook

2014-04-23 Thread Felipe Contreras
Junio C Hamano wrote: > Felipe Contreras writes: > > > Junio C Hamano wrote: > >> Felipe Contreras writes: > >> > >> > This hook is invoked before a branch is updated, either when a branch is > >> > created or updated with 'git branch', or when it's rebased with 'git > >> > rebase'. It receive

Re: [RFC/PATCH v2 3/3] Add 'update-branch' hook

2014-04-23 Thread Junio C Hamano
Felipe Contreras writes: > Junio C Hamano wrote: >> Felipe Contreras writes: >> >> > This hook is invoked before a branch is updated, either when a branch is >> > created or updated with 'git branch', or when it's rebased with 'git >> > rebase'. It receives three parameters; the name of the br

Re: [RFC/PATCH v2 3/3] Add 'update-branch' hook

2014-04-23 Thread Felipe Contreras
Junio C Hamano wrote: > Felipe Contreras writes: > > > This hook is invoked before a branch is updated, either when a branch is > > created or updated with 'git branch', or when it's rebased with 'git > > rebase'. It receives three parameters; the name of the branch, the > > SHA-1 of the latest

Re: [RFC/PATCH v2 3/3] Add 'update-branch' hook

2014-04-23 Thread Junio C Hamano
Felipe Contreras writes: > This hook is invoked before a branch is updated, either when a branch is > created or updated with 'git branch', or when it's rebased with 'git > rebase'. It receives three parameters; the name of the branch, the > SHA-1 of the latest commit, and the SHA-1 of the first