It seems that SourceGit sometimes deletes the git-rebase-todo file created by Git, breaking a running interactive rebase.
Steps to reproduce:
Make sure SourceGit is running in the background with a repo open
Open a terminal and navigate to the repo
Start an interactive rebase using something like git rebase -i @~5
In the editor that opens, enter a line with b (break) between any two commits, then close the editor
When Git stops at the specified position, run git rebase --continue
Expected result:
The command succeeds, finishing the interactive rebase
Actual result:
The command fails with the error message "fatal: no rebase in progress". This is because SourceGit seems to have deleted the git-rebase-todo file that tells Git that an interactive rebase is in progress. As a result, the Git repo ends up in detached HEAD state at the last commit before the break command.
It seems that SourceGit sometimes deletes the
git-rebase-todo
file created by Git, breaking a running interactive rebase.Steps to reproduce:
git rebase -i @~5
b
(break) between any two commits, then close the editorgit rebase --continue
Expected result:
The command succeeds, finishing the interactive rebase
Actual result:
The command fails with the error message "fatal: no rebase in progress". This is because SourceGit seems to have deleted the
git-rebase-todo
file that tells Git that an interactive rebase is in progress. As a result, the Git repo ends up in detached HEAD state at the last commit before the break command.System: