{"thread":{"id":"11350","subject":"[BUG] Invalid rebase command leaves unclean status","startedAt":"2007-12-19T00:47:12Z","lastAt":"2007-12-19T07:42:29Z","messageCount":2,"participants":["ulrik","Wincent Colaiuta"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"63711","messageId":"a1b6cb1b0712181647v34822692t4a3d88f90cd7346@mail.gmail.com","threadId":"11350","inReplyTo":null,"subject":"[BUG] Invalid rebase command leaves unclean status","fromName":"ulrik","fromEmail":"ulrik.sverdrup@gmail.com","sentAt":"2007-12-19T00:47:12Z","receivedAt":"2007-12-19T00:47:12Z","isPatch":false,"sender":{"key":"ulrik.sverdrup@gmail.com","avatar":null},"body":"Hello git list\n\nA bug in rebase -i: A typo in the command (for example in the branch\nname) still makes later invocations of rebase think a rebase is\nalready in process.\n\nI found this bug in master, and it was already reported to the mailing\nlist under version 1.5.3.5, but there were no follow-ups to that mail.\nI'm using 1.5.3.7 and it is still present, and looking at the maint\nbranch it does not seem to be mentioned in post-x.3.7 changes there.\nSo I am now reporting this bug again. I'm sorry for not checking this\nin master, I'll have to ask someone on the list to do that.\n\nOriginal email:\nhttp://marc.info/?l=git&m=119410951019002&w=2\nDate:       2007-11-03 17:04:51\nMessage-ID: 200711031804.52259.elendil () planet ! nl\n\n# A sample session:\n# Invoking rebase with a typo, there is no \"muster\" branch\n$ git rebase -i muster\nfatal: Needed a single revision\nInvalid base\n$ git rebase -i master\nInteractive rebase already started\n$ git rebase --abort\nfatal: Needed a single revision\n# Even though rebase --abort reports an error, rebase's internal state\nis now cleared\n\nRegards,\nUlrik Sverdrup\n"},{"id":"63722","messageId":"E2D86FF0-52D2-40D9-A03A-04F400A2C0C6@wincent.com","threadId":"11350","inReplyTo":"a1b6cb1b0712181647v34822692t4a3d88f90cd7346@mail.gmail.com","subject":"Re: [BUG] Invalid rebase command leaves unclean status","fromName":"Wincent Colaiuta","fromEmail":"win@wincent.com","sentAt":"2007-12-19T07:42:29Z","receivedAt":"2007-12-19T07:42:29Z","isPatch":false,"sender":{"key":"greg@hurrell.net","avatar":"https://avatars.githubusercontent.com/u/7074?v=4"},"body":"El 19/12/2007, a las 1:47, ulrik escribió:\n\n> Hello git list\n>\n> A bug in rebase -i: A typo in the command (for example in the branch\n> name) still makes later invocations of rebase think a rebase is\n> already in process.\n\nIt's already been fixed on master:\n\n$ mkdir demo\n$ git init\nInitialized empty Git repository in .git/\n$ echo a > a\n$ git add a\n$ git commit -m a\nCreated initial commit 36a2b58: a\n  1 files changed, 1 insertions(+), 0 deletions(-)\n  create mode 100644 a\n$ git checkout -b other\nSwitched to a new branch \"other\"\n$ git rebase -i muster\nfatal: Needed a single revision\nInvalid base\n$ git rebase -i master\nNothing to do\n\nCheers,\nWincent\n"}]}