git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Dave Olszewski <cxreg@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] rebase--interactive: don't enforce valid branch
Date: Sun, 14 Mar 2010 22:20:02 -0700	[thread overview]
Message-ID: <7vsk82i2kd.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <1268628502-29696-1-git-send-email-cxreg@pobox.com> (Dave Olszewski's message of "Sun\, 14 Mar 2010 21\:48\:22 -0700")

Dave Olszewski <cxreg@pobox.com> writes:

> git rebase allows you to specify a non-branch commit-ish as the "branch"
> argument, which leaves HEAD detached when it's finished.  This is
> occasionally useful, and this patch brings the same functionality to git
> rebase ---interactive.

Three dashes?

> +test_expect_success 'rebase while detaching HEAD' '
> +	grandparent=$(git rev-parse HEAD~2) &&
> +	test_tick &&
> +	FAKE_LINES="2 1" git rebase -i HEAD~2 HEAD^0 &&

What's the point of saying this?  You could instead say:

	git rebase -i HEAD~2

no?

  reply	other threads:[~2010-03-15  5:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15  4:48 [PATCH] rebase--interactive: don't enforce valid branch Dave Olszewski
2010-03-15  5:20 ` Junio C Hamano [this message]
2010-03-15  5:28   ` Dave Olszewski
2010-03-15  5:42     ` Junio C Hamano
2010-03-15  5:46       ` Dave Olszewski
2010-03-15  6:14       ` Junio C Hamano
2010-03-15  8:41         ` Dave Olszewski
2010-03-15 17:14           ` Junio C Hamano

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=7vsk82i2kd.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=cxreg@pobox.com \
    --cc=git@vger.kernel.org \
    /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).