I often want to stage a part of a new file when reconstructing commits. git record -i doesn't recognize untracked files, but it also doesn't launch if I have added, but not staged, a file.
> echo foo > foo
> git add -N foo
> git record -i
Cannot select changes interactively while there are already staged changes.
Either commit or unstage your changes and try again. Aborting.
Expected behavior
The record TUI should launch and show the added file.
Description of the bug
I often want to stage a part of a new file when reconstructing commits.
git record -i
doesn't recognize untracked files, but it also doesn't launch if I have added, but not staged, a file.Expected behavior
The record TUI should launch and show the added file.
Actual behavior
The TUI doesn't launch.
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
git-branchless-opts 0.8.0
Version of
git
git version 2.43.1