Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:47

Andrew Wong [off-list ref] writes:
On 09/16/12 02:54, Junio C Hamano wrote:
quoted
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 where that line is and remove it,
the only way I can think of is to remove all the comments, and append
the help messages again.
I see.  As long as you know that the other things you are removing
with the code is irrelevant and giving the standard boilerplate is
sufficient, your approach is the simplest way to reliably get what
you want.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help