From: Frans Pop <elendil@planet.nl>
To: John Feuerstein <john@feurix.com>
Cc: git@vger.kernel.org
Subject: Re: Feature request: option to not fetch tags for 'git remote' branches
Date: Wed, 24 Mar 2010 22:46:15 +0100 [thread overview]
Message-ID: <201003242246.16286.elendil@planet.nl> (raw)
In-Reply-To: <4BAA7F5B.2040400@feurix.com>
On Wednesday 24 March 2010, John Feuerstein wrote:
> > It would be great to be able to tell 'git remote' to skip tags and
> > only fetch the requested branch. A --no-tags option maybe?
> >
> > AFAIK this is currently not possible, although I'd happy to be proven
> > wrong.
>
> have a look at -n, --no-tags provided by git-fetch, ie.
>
> $ git remote add ... foo ...
> $ git fetch -n foo
Thanks John. I'll need to test if that's persistent, or that I'll have
to remember to specify it with each fetch. I guess the option is also
recognized by 'git remote update'?
Ahh. I've just found 'remote.<name>.tagopt' in 'man git-config'.
I still think it would be nice if that could be set with an option for
'git remote add'. That would make life so much simpler :-)
Cheers,
FJP
next prev parent reply other threads:[~2010-03-24 21:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 20:54 Feature request: option to not fetch tags for 'git remote' branches Frans Pop
2010-03-24 21:08 ` John Feuerstein
2010-03-24 21:35 ` Björn Steinbrink
2010-03-24 21:46 ` Frans Pop [this message]
2010-03-27 19:10 ` Samuel Tardieu
2010-03-27 19:25 ` Samuel Tardieu
2010-03-30 8:09 ` Frans Pop
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=201003242246.16286.elendil@planet.nl \
--to=elendil@planet.nl \
--cc=git@vger.kernel.org \
--cc=john@feurix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.