git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] rebase -i: Fix white space in comments

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 26, 2018, 21:35 UTC
Message-ID
<nycvar.QRO.7.76.6.1806262331340.21419@tvgsbejvaqbjf.bet>
In-Reply-To
<nycvar.QRO.7.76.6.1806262329390.21419@tvgsbejvaqbjf.bet>
Hi,
and now for the review...
On Tue, 26 Jun 2018, Johannes Schindelin wrote:
Show 18 quoted lines
> On Tue, 26 Jun 2018, dana wrote:
> 
> > diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> > index 299ded213..a31af6d4c 100644
> > --- a/git-rebase--interactive.sh
> > +++ b/git-rebase--interactive.sh
> > @@ -222,9 +222,9 @@ $comment_char $(eval_ngettext \
> >  EOF
> >  	append_todo_help
> >  	gettext "
> > -	However, if you remove everything, the rebase will be aborted.
> > +However, if you remove everything, the rebase will be aborted.
> >  
> > -	" | git stripspace --comment-lines >>"$todo"
> > +" | git stripspace --comment-lines >>"$todo"
> >  
> >  	if test -z "$keep_empty"
> >  	then

This does the job, and I am fine with this way of doing things, and there seems to be a lot of precedent doing it this way e.g. in git-bisect.sh.

If my ACK is welcome, you hereby have it.

Ciao, Johannes

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 7 in “rebase -i: Fix white space in comments”
  1. rebase -i: Fix white space in commentsdana, Jun 26, 2018
  2. Johannes SchindelinJun 26, 2018
  3. Johannes SchindelinJun 26, 2018
  4. Johannes SchindelinJun 26, 2018
  5. danaJun 26, 2018
  6. Johannes SchindelinJun 27, 2018
  7. Wink SavilleJun 27, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.