From: Frans Pop <elendil@planet.nl>
To: git@vger.kernel.org
Subject: Feature request: option to not fetch tags for 'git remote' branches
Date: Wed, 24 Mar 2010 21:54:28 +0100 [thread overview]
Message-ID: <201003242154.29245.elendil@planet.nl> (raw)
I'm sometimes asked to build a kernel or rebase patches against a certain
development repository. No problem, happy to do that.
Except that some of those repos have huge numbers of tags that I'm not
interested in and which only muddy the tags from the "origin" repo and my
own.
I mostly want to remove the remote again ASAP and having to semi-manually
remove the unwanted tags afterwards is a nuisance.
Example (on top of kernel mainline):
$ git remote add -t master iwlwifi \
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6.git
This results in the addition of 326 'master-<date>' tags, 70 'merge-<date>'
tags and 6 'snapshot-<date>' tags.
Similar effects for example from Ingo's "tip" repository.
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.
Cheers,
FJP
next reply other threads:[~2010-03-24 20:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 20:54 Frans Pop [this message]
2010-03-24 21:08 ` Feature request: option to not fetch tags for 'git remote' branches John Feuerstein
2010-03-24 21:35 ` Björn Steinbrink
2010-03-24 21:46 ` Frans Pop
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=201003242154.29245.elendil@planet.nl \
--to=elendil@planet.nl \
--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).