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

Re: [PATCH 0/2] rebase --root: fix `reword` on a root commit

From
Todd Zullinger <tmz@pobox.com>
Date
Jun 18, 2018, 16:41 UTC
Message-ID
<20180618164140.GN11827@zaya.teonanacatl.net>
In-Reply-To
<xmqqd0woxdz9.fsf@gitster-ct.c.googlers.com>
Hi,
Junio C Hamano wrote:
Show 26 quoted lines
> Todd Zullinger <tmz@pobox.com> writes:
> 
>> Hi Johannes,
>>
>> Johannes Schindelin via GitGitGadget wrote:
>>> From: GitGitGadget <gitgitgadget@gmail.com>
>>> 
>>> Todd Zullinger reported this bug in
>>> https://public-inbox.org/git/20180615043111.GS3094@zaya.teonanacatl.net/:
>>> when calling git rebase --root and trying to reword the
>>> root commit's message, a BUG is reported.
>>>
>>> This fixes that.
>>> 
>>> IMO the bug fix is trivial enough to qualify for inclusion into v2.18.0, still.
>>
>> It does indeed fix the issue.  I agree it would be nice to
>> see it in 2.18.0.  As a fix for a minor regression
>> introduced in this cycle, that seems reasonable.
> 
> Offhand it is not clear from the proposed log message where the
> original breakage happened, but if this is to fix a regression
> between v2.17.0 and v2.18.0, then let's have it.  As -rc2 slipped
> for a few days, it is reasonable to delay the final by a couple of
> days as well, if only to give the last minute fixes and translators
> reasonable time to breathe.

Perhaps replacing the first paragraph with this would make it clearer?

    Since 21d0764c82 ("rebase -i --root: let the sequencer handle even the
    initial part", 2018-05-04), when splitting a repository, running `git
    rebase -i --root` to reword the initial commit, Git dies with
Alternately, a similar note could be added at the end.
    This regression was recently introduced in 21d0764c82 ("rebase -i 
    --root: let the sequencer handle even the initial part", 2018-05-04).
-- 
Todd
Previous: Junio C HamanoNext: Junio C Hamano
Message 16 of 17 in “rebase --root: fix `reword` on a root commit”
  1. 0/2 rebase --root: fix `reword` on a root commitJohannes Schindelin via GitGitGadget, Jun 16, 2018
  2. 1/2 rebase --root: demonstrate a bug while amending root commit messagesJohannes Schindelin via GitGitGadget, Jun 15, 2018
  3. Phillip WoodJun 18, 2018
  4. Todd ZullingerJun 18, 2018
  5. Johannes SchindelinJun 18, 2018
  6. t3404: check root commit in 'rebase -i --root reword root commit'Todd Zullinger, Jun 18, 2018
  7. Johannes SchindelinJun 19, 2018
  8. Junio C HamanoJun 19, 2018
  9. Todd ZullingerJun 19, 2018
  10. Johannes SchindelinJun 20, 2018
  11. Junio C HamanoJun 19, 2018
  12. Johannes SchindelinJun 20, 2018
  13. 2/2 rebase --root: fix amending root commit messagesJohannes Schindelin via GitGitGadget, Jun 16, 2018
  14. Todd ZullingerJun 16, 2018
  15. Junio C HamanoJun 18, 2018
  16. Todd ZullingerJun 18, 2018
  17. Junio C HamanoJun 18, 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.