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

Re: [BUG] Invalid rebase command leaves unclean status

From
Wincent Colaiuta <win@wincent.com>
Date
Dec 19, 2007, 07:42 UTC
Message-ID
<E2D86FF0-52D2-40D9-A03A-04F400A2C0C6@wincent.com>
In-Reply-To
<a1b6cb1b0712181647v34822692t4a3d88f90cd7346@mail.gmail.com>
El 19/12/2007, a las 1:47, ulrik escribió:
Show 5 quoted lines
> Hello git list
>
> A bug in rebase -i: A typo in the command (for example in the branch
> name) still makes later invocations of rebase think a rebase is
> already in process.
It's already been fixed on master:
$ mkdir demo
$ git init
Initialized empty Git repository in .git/
$ echo a > a
$ git add a
$ git commit -m a
Created initial commit 36a2b58: a
  1 files changed, 1 insertions(+), 0 deletions(-)
  create mode 100644 a
$ git checkout -b other
Switched to a new branch "other"
$ git rebase -i muster
fatal: Needed a single revision
Invalid base
$ git rebase -i master
Nothing to do

Cheers, Wincent

Previous: ulrik
Message 2 of 2 in “[BUG] Invalid rebase command leaves unclean status”
  1. ulrikDec 19, 2007
  2. Wincent ColaiutaDec 19, 2007

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.