Re: Strange behavior with git rebase (-i)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan (metze) Metzmacher <metze@...>
Cc: <git@...>
Date: Saturday, February 2, 2008 - 11:42 am

Hi,

On Sat, 2 Feb 2008, Stefan (metze) Metzmacher wrote:


I don't believe it.  "git branch" would have shown "* (no branch)" as 
current branch, unless the rebase is finalized.

git rebase -i works on a _detached_ HEAD, for two reasons:

- easier working with reflogs (as the branch's reflog shows before rebase 
and after rebase, but nothing in between), and

- to prevent exactly the scenario you are describing.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Strange behavior with git rebase (-i), Stefan (metze) Metzmacher..., (Sat Feb 2, 6:44 am)
Re: Strange behavior with git rebase (-i), Johannes Schindelin, (Sat Feb 2, 11:42 am)
Re: Strange behavior with git rebase (-i), Steven Walter, (Sat Feb 2, 12:25 pm)
Re: Strange behavior with git rebase (-i), Johannes Schindelin, (Sat Feb 2, 1:08 pm)
Re: Strange behavior with git rebase (-i), Stefan (metze) Metzmacher..., (Sat Feb 2, 9:21 pm)