Re: [PATCH v2] Documentation/githooks: Explain pre-rebase parameters

2013-02-24 Thread Junio C Hamano
W. Trevor King wk...@tremily.us writes: On Sat, Feb 23, 2013 at 01:21:59PM -0800, Junio C Hamano wrote: W. Trevor King wk...@tremily.us writes: +This hook is called by 'git rebase' and can be used to prevent a +branch from getting rebased. The hook takes two parameters: the +upstream

[PATCH v2] Documentation/githooks: Explain pre-rebase parameters

2013-02-23 Thread W. Trevor King
From: W. Trevor King wk...@tremily.us Descriptions borrowed from templates/hooks--pre-rebase.sample. Signed-off-by: W. Trevor King wk...@tremily.us --- Changes from v1: * Replaced empty with missing for second parameter. Documentation/githooks.txt | 7 --- 1 file changed, 4 insertions(+),

Re: [PATCH v2] Documentation/githooks: Explain pre-rebase parameters

2013-02-23 Thread Junio C Hamano
W. Trevor King wk...@tremily.us writes: +This hook is called by 'git rebase' and can be used to prevent a +branch from getting rebased. The hook takes two parameters: the +upstream the series was forked from and the branch being rebased. The +second parameter will be missing when rebasing

Re: [PATCH v2] Documentation/githooks: Explain pre-rebase parameters

2013-02-23 Thread W. Trevor King
On Sat, Feb 23, 2013 at 01:21:59PM -0800, Junio C Hamano wrote: W. Trevor King wk...@tremily.us writes: +This hook is called by 'git rebase' and can be used to prevent a +branch from getting rebased. The hook takes two parameters: the +upstream the series was forked from and the branch