git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Invalid rebase command leaves unclean status
@ 2007-12-19  0:47 ulrik
  2007-12-19  7:42 ` Wincent Colaiuta
  0 siblings, 1 reply; 3+ messages in thread
From: ulrik @ 2007-12-19  0:47 UTC (permalink / raw)
  To: git

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.

I found this bug in master, and it was already reported to the mailing
list under version 1.5.3.5, but there were no follow-ups to that mail.
I'm using 1.5.3.7 and it is still present, and looking at the maint
branch it does not seem to be mentioned in post-x.3.7 changes there.
So I am now reporting this bug again. I'm sorry for not checking this
in master, I'll have to ask someone on the list to do that.

Original email:
http://marc.info/?l=git&m=119410951019002&w=2
Date:       2007-11-03 17:04:51
Message-ID: 200711031804.52259.elendil () planet ! nl

# A sample session:
# Invoking rebase with a typo, there is no "muster" branch
$ git rebase -i muster
fatal: Needed a single revision
Invalid base
$ git rebase -i master
Interactive rebase already started
$ git rebase --abort
fatal: Needed a single revision
# Even though rebase --abort reports an error, rebase's internal state
is now cleared

Regards,
Ulrik Sverdrup

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [BUG] Invalid rebase command leaves unclean status
@ 2007-11-03 17:04 Frans Pop
  0 siblings, 0 replies; 3+ messages in thread
From: Frans Pop @ 2007-11-03 17:04 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

The first command results in the creation of an empty .dotest-merge/output 
file which blocks any next attempt to do an interactive rebase until it is 
manually removed.

$ git rebase master -i
Invalid branchname: -i
$ git rebase -i master
Interactive rebase already started
$ ls .git/.dotest-merge/
output
$ cat .git/.dotest-merge/output
$ rm -r .git/.dotest-merge/
$ git rebase -i master 
<works>

This is with git version 1.5.3.5.

Cheers,
Frans Pop

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-19  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19  0:47 [BUG] Invalid rebase command leaves unclean status ulrik
2007-12-19  7:42 ` Wincent Colaiuta
  -- strict thread matches above, loose matches on Subject: below --
2007-11-03 17:04 Frans Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).