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

Re: git rebase --root bug

From
CFChristopher Fretz <cfretz@icloud.com>
Date
May 11, 2023, 04:07 UTC
Message-ID
<C3061274-3B8C-4593-B2B3-7C6BCB3AA19E@icloud.com>
In-Reply-To
<1efe92ee-6ae0-4588-ba67-b7632c7ea97e@app.fastmail.com>
Interestingly, I just tried the same on a personal laptop with a fully up-to-date version of git, and I get a more descriptive error:

$ git rebase --continue error: invalid onto: ‘bdb3861a5176d64862366d702dd5abd396b18ab4'

Not sure what the cause is for the difference in error messages, we appear to be using the same version, but the issue appears to still be present in the most recent release of git regardless.

[System Info] git version: git version 2.40.1 cpu: arm64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64 compiler info: clang: 14.0.3 (clang-1403.0.22.14.1) libc info: no libc information available $SHELL (typically, interactive shell): /bin/zsh

[Enabled Hooks]
Show 28 quoted lines
> On May 10, 2023, at 2:35 PM, Kristoffer Haugsbakk <code@khaugsbakk.name> wrote:
> 
> On Wed, May 10, 2023, at 22:08, Christopher Fretz wrote:
>> Thank you for filling out a Git bug report!
> 
> I get a more generic error:
> 
>    $ git rebase --continue
>    fatal: No rebase in progress?
> 
> [System Info]
> git version:
> git version 2.40.1
> cpu: x86_64
> no commit associated with this build
> sizeof-long: 8
> sizeof-size_t: 8
> shell-path: /bin/sh
> uname: Linux 5.4.0-148-generic #165~18.04.1-Ubuntu SMP Thu Apr 20 01:14:06 UTC 2023 x86_64
> compiler info: gnuc: 7.5
> libc info: glibc: 2.27
> $SHELL (typically, interactive shell): /bin/bash
> 
> 
> [Enabled Hooks]
> 
> -- 
> Kristoffer Haugsbakk
Previous: Kristoffer HaugsbakkNext: Phillip Wood
Message 3 of 7 in “git rebase --root bug”
  1. Christopher FretzMay 10, 2023
  2. Kristoffer HaugsbakkMay 10, 2023
  3. Christopher FretzMay 11, 2023
  4. Phillip WoodMay 11, 2023
  5. Taylor BlauMay 11, 2023
  6. Christopher FretzMay 11, 2023
  7. Phillip WoodMay 12, 2023

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.