From: "Johannes Schindelin" <Johannes.Schindelin@xxxxxx>
<snip>
So the problem seems to be that rebase -i (like rebase without -i)
considers "empty commits" as commits to be ignored. However, when using
rebase -i one expects that you can include the empty commit...
Also, the behavior is odd. When I only have empty commits, a "git rebase
master" works as expected like a "git reset --hard master" but "git
rebase -i" does nothing.
The expected behavior would be that the editor shows up with a
git-rebase-todo like:
# pick 3d0f6c49 empty commit
# pick bbbc5941 another empty commit
noop
These days, I reflexively type `rebase -ki` instead of `rebase -i`. Maybe
you want to do that, too?
Ciao,
Dscho
Is the -k option actually documented? I couldn't see it in the man pages.
I'm guessing it's the same as `--keep-empty`.
--
Philip