git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geoff Russell <geoffrey.russell@gmail.com>
To: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Cc: Jonathan Nieder <jrnieder@gmail.com>,
	git@vger.kernel.org, Thomas Rast <trast@student.ethz.ch>,
	Michael J Gruber <git@drmicha.warpmail.net>
Subject: Re: git pull (Re: need advice on usage patterns)
Date: Mon, 26 Jul 2010 20:07:19 +0930	[thread overview]
Message-ID: <AANLkTimP8oQ-482QMuTjnX0zvCfadoQvq+=MkADfkTbV@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikPHARaosHLwaKUqL12va4F7O3WMp1I4LIpu7Mp@mail.gmail.com>

On Mon, Jul 26, 2010 at 7:56 PM, Ævar Arnfjörð Bjarmason
<avarab@gmail.com> wrote:
> On Mon, Jul 26, 2010 at 03:36, Jonathan Nieder <jrnieder@gmail.com> wrote:
>
>> -'git pull' <options> <repository> <refspec>...
>> +'git pull' <options> <repository> <branch>...
>
> Wasn't it "refspec" because git-pull can take args like
> "refs/remotes/origin/*:refs/heads/*", not just branch names?
>

Yes.

Thinking about the pull as 2 operations "fetch+merge" should have
alerted me to the
possibility that it could update 2 branches, ... the one in the
<refspec> as well
as the current branch ... if they are different.

Thanks,

Geoff

  reply	other threads:[~2010-07-26 10:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26  0:34 need advice on usage patterns Geoff Russell
2010-07-26  3:36 ` git pull (Re: need advice on usage patterns) Jonathan Nieder
2010-07-26  7:16   ` Thomas Rast
2010-07-26 20:06     ` Jonathan Nieder
2010-07-27  9:13       ` Thomas Rast
2010-07-26 10:26   ` Ævar Arnfjörð Bjarmason
2010-07-26 10:37     ` Geoff Russell [this message]
2010-07-26 14:17     ` Jonathan Nieder

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='AANLkTimP8oQ-482QMuTjnX0zvCfadoQvq+=MkADfkTbV@mail.gmail.com' \
    --to=geoffrey.russell@gmail.com \
    --cc=avarab@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=jrnieder@gmail.com \
    --cc=trast@student.ethz.ch \
    /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).