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

Re: [PATCH] rebase -i: fix cases ignoring core.commentchar

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 16, 2013, 21:55 UTC
Message-ID
<CAPig+cTRc1-W7vJX52gb5S0ge4kZgKMBkHJjqWFRDgpuzTfM2g@mail.gmail.com>
In-Reply-To
<1376689447-78807-1-git-send-email-sunshine@sunshineco.com>
On Fri, Aug 16, 2013 at 5:44 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 11 quoted lines
> eff80a9fd990de36 (Allow custom "comment char", 2013-01-16) added general
> core.commentchar support but forgot to update git-rebase--interactive to
> respect it.  180bad3d10fe3a7f (rebase -i: respect core.commentchar,
> 2013-02-11) addressed this oversight but missed one instance of
> hard-coded '#' comment character in skip_unnecessary_picks(). Fix this.
>
> 9a46c25bdbf79744 (rebase: interactive: fix short SHA-1 collision,
> 2013-08-12) added another instance of hard-coded '#' comment character
> in transform_todo_ids().  Fix this, as well.
>
> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>

I forgot to mention that I wanted to add tests to t3404 for these bugs but couldn't figure out how to do it using the external behavior of rebase -i. I was able to verify the before and after behavior by adding temporary echo's to the code in order to observe the "internal" functioning.

Previous: Eric SunshineNext: Eric Sunshine
Message 2 of 5 in “rebase -i: fix cases ignoring core.commentchar”
  1. rebase -i: fix cases ignoring core.commentcharEric Sunshine, Aug 16, 2013
  2. Eric SunshineAug 16, 2013
  3. Eric SunshineAug 16, 2013
  4. Junio C HamanoAug 18, 2013
  5. Eric SunshineAug 18, 2013

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.