Re: [PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-17 Thread Junio C Hamano
Andrew Wong writes: > On 09/16/12 02:54, Junio C Hamano wrote: >> In any case, what information are you discarding and then replacing >> with the standard boilerplate? > It's to strip out the comment that says: > > # However, if you remove everything, the rebase will be aborted. > > As there'

Re: [PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-16 Thread Andrew Wong
On 09/16/12 02:54, Junio C Hamano wrote: > In any case, what information are you discarding and then replacing > with the standard boilerplate? It's to strip out the comment that says: # However, if you remove everything, the rebase will be aborted. As there's no way reliable way to know wher

Re: [PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-15 Thread Junio C Hamano
Andrew Wong writes: > This allows users to edit the todo file while they're stopped in the > middle of an interactive rebase. When this action is executed, all > comments from the original todo file are stripped, and new help messages > are appended to the end. > > Signed-off-by: Andrew Wong > -

[PATCH 2/3] rebase -i: Teach "--edit-todo" action

2012-09-15 Thread Andrew Wong
This allows users to edit the todo file while they're stopped in the middle of an interactive rebase. When this action is executed, all comments from the original todo file are stripped, and new help messages are appended to the end. Signed-off-by: Andrew Wong --- Documentation/git-rebase.txt |