From: Jeff King Date: Sun, 02 Mar 2008 07:30:16 GMT Subject: Re: git-rebase dirty index and email address bug? Message-ID: <20080302073016.GC3935@coredump.intra.peff.net> In-Reply-To: On Sat, Mar 01, 2008 at 03:29:37PM -0600, John Goerzen wrote: > Two things to add: > > 1) This was a clean branch prior to rebase (git status was empty) > > 2) Adding -i to the rebase command, then making no changes to the > list, caused the rebase to work perfectly. Yes, "rebase -i" works somewhat differently than an ordinary rebase. It uses a series of cherry-picks rather than "format-patch | am". And the bug is, I think, in "git-am". It probably would also have worked using "git rebase -m" which uses merge strategies to rebase. And yes, it is a bit crazy that there are so many ways to rebase. The original, "format-patch | am" is faster than the other schemes, but doesn't handle renames (as "rebase -m" does); nor is it flexible enough to do what "rebase -i" does. -Peff