From: Jay Soffian <jaysoffian@gmail.com>
To: "Björn Gustavsson" <bgustavsson@gmail.com>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: Re: [RFC/PATCH 2/4] Teach the --multiple option to 'git fetch'
Date: Sun, 8 Nov 2009 19:59:46 -0500 [thread overview]
Message-ID: <76718490911081659u318ea362l29342a9b3d90f03f@mail.gmail.com> (raw)
In-Reply-To: <4AF6E7DE.1020201@gmail.com>
2009/11/8 Björn Gustavsson <bgustavsson@gmail.com>:
> Add the --multiple option to specify that all arguments are either
> groups or remotes. The primary reason for adding this option is
> to allow us to re-implement 'git remote update' using fetch.
Can't this be determined automagically by inspecting the arguments? I
believe there can be two unambiguous usages:
a) git fetch <repository> <refspec>...
b) git fetch <repository>...
If there is more than one argument, either:
a) arguments 2...N must be refpecs (i.e., each must contain a colon)
b) arguments 2...N must NOT be refspecs
"The format of a <refspec> parameter is an optional plus +, followed
by the source ref <src>, followed by a colon :, followed by the
destination ref <dst>."
j.
next prev parent reply other threads:[~2009-11-09 1:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-08 15:46 [RFC/PATCH 2/4] Teach the --multiple option to 'git fetch' Björn Gustavsson
2009-11-09 0:59 ` Jay Soffian [this message]
2009-11-09 1:08 ` Jeff King
2009-11-09 6:25 ` Björn Gustavsson
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=76718490911081659u318ea362l29342a9b3d90f03f@mail.gmail.com \
--to=jaysoffian@gmail.com \
--cc=bgustavsson@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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).