git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stefan (metze) Metzmacher" <metze@samba.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Steven Walter <stevenrwalter@gmail.com>, git@vger.kernel.org
Subject: Re: Strange behavior with git rebase (-i)
Date: Sun, 03 Feb 2008 02:21:12 +0100	[thread overview]
Message-ID: <47A51708.4020406@samba.org> (raw)
In-Reply-To: <alpine.LSU.1.00.0802021708030.7372@racer.site>

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Johannes Schindelin schrieb:
> Hi,
> 
> On Sat, 2 Feb 2008, Steven Walter wrote:
> 
>> On Sat, Feb 02, 2008 at 03:42:06PM +0000, Johannes Schindelin 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:
>>> On Sat, 2 Feb 2008, Stefan (metze) Metzmacher wrote:
>>>> I was using git 1.5.3.2
>> Did rebase -i in git 1.5.3.2 use a detached head?  I thought that was
>> new in 1.5.4.
> 
> rebase -i uses a detached HEAD since it was merged.  In 1.5.4, rebase 
> (note the absence of -i) uses a detached HEAD, too.

Hmm, I can't reproduce this...maybe I was just to stupid and didn't look
at the git branch output carefully...

metze


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

      reply	other threads:[~2008-02-03  1:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 10:44 Strange behavior with git rebase (-i) Stefan (metze) Metzmacher
2008-02-02 15:42 ` Johannes Schindelin
2008-02-02 16:25   ` Steven Walter
2008-02-02 17:08     ` Johannes Schindelin
2008-02-03  1:21       ` Stefan (metze) Metzmacher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A51708.4020406@samba.org \
    --to=metze@samba.org \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=stevenrwalter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).