git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
To: Rene Herman <rene.herman@gmail.com>
Cc: Lars Hjemli <hjemli@gmail.com>,
	Brian Gernhardt <benji@silverinsanity.com>,
	git@vger.kernel.org
Subject: Re: git branch --switch?
Date: Tue, 17 Apr 2007 09:50:58 -0700	[thread overview]
Message-ID: <86y7kr0wst.fsf@blue.stonehenge.com> (raw)
In-Reply-To: <4624F18F.6070906@gmail.com> (Rene Herman's message of "Tue, 17 Apr 2007 18:10:55 +0200")

>>>>> "Rene" == Rene Herman <rene.herman@gmail.com> writes:

Rene> Well, yes, they do, and I could also do

Rene> git branch b v2.6.20
Rene> git branch c v2.6.20

Rene> directly then (right?) but I do want that "v20" branch in the middle.

What does "in the middle" mean here?

If I set:

   b = a;
   c = a;

That's the same as if I said:

   b = a;
   c = b;

Why do you think those would be different?  There's nothing recorded
when you say "git branch X Y" except to make a new X that's a copy
of the SHA1 of the old Y.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

  reply	other threads:[~2007-04-17 16:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 13:36 git branch --switch? Rene Herman
2007-04-17 14:21 ` Alex Riesen
2007-04-17 14:29   ` Rene Herman
2007-04-17 14:46   ` Brian Gernhardt
2007-04-17 15:11     ` Alex Riesen
2007-04-17 15:44       ` Rene Herman
2007-04-17 14:31 ` Brian Gernhardt
2007-04-17 15:41   ` Rene Herman
2007-04-17 15:47     ` Rene Herman
2007-04-17 15:55     ` Lars Hjemli
2007-04-17 16:10       ` Rene Herman
2007-04-17 16:50         ` Randal L. Schwartz [this message]
2007-04-17 17:03           ` Rene Herman
2007-04-17 17:00         ` Lars Hjemli
2007-04-17 17:27           ` Rene Herman
2007-04-17 16:24     ` Rene Herman
2007-04-17 16:44       ` Linus Torvalds
2007-04-17 16:55         ` Rene Herman

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=86y7kr0wst.fsf@blue.stonehenge.com \
    --to=merlyn@stonehenge.com \
    --cc=benji@silverinsanity.com \
    --cc=git@vger.kernel.org \
    --cc=hjemli@gmail.com \
    --cc=rene.herman@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).