# [BUG] Invalid rebase command leaves unclean status

1 messages from 2007-11-03 to 2007-11-03. Participants: Frans Pop.
Thread: https://gitlist.dev/t/10622

## Frans Pop, 2007-11-03 17:04

Subject: [BUG] Invalid rebase command leaves unclean status
Message-ID: <200711031804.52259.elendil@planet.nl>
URL: https://gitlist.dev/e/200711031804.52259.elendil%40planet.nl

```
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

```
