From: Kalle Olavi Niemitalo <kon@iki.fi>
To: git@vger.kernel.org
Subject: Re: [RFC] On how to manage tags fetched from remote?
Date: Wed, 19 Nov 2008 09:50:42 +0200 [thread overview]
Message-ID: <87skpotar1.fsf@Astalo.kon.iki.fi> (raw)
In-Reply-To: <91b13c310811181827y4e37815egaa34ba164d9f4269@mail.gmail.com> (rae l.'s message of "Wed, 19 Nov 2008 10:27:37 +0800")
"rae l" <crquan@gmail.com> writes:
> 2. Store a no-tags config item to the remote config, which like:
> [remote "linux-iscsi"]
> url = git://git.kernel.org/pub/scm/linux/kernel/git/mnc/linux-2.6-iscsi.git
> fetch = +refs/heads/*:refs/remotes/linux-iscsi/*
> fetch-tags = false
> when git fetch read the no-tags config, it will disable tags from this remote;
A config option like that already exists. I am using:
[remote "git.debian.org"]
url = git://git.debian.org/git/collab-maint/elinks.git
fetch = +refs/heads/*:refs/remotes/git.debian.org/*
fetch = refs/tags/*:refs/tags/git.debian.org/*
tagopt = --no-tags
So I have e.g. a ref called refs/tags/git.debian.org/orig-0.11.4
that points to a tag object that says "tag orig-0.11.4". I hope
git fsck will never be changed to complain about that.
prev parent reply other threads:[~2008-11-19 7:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 2:27 [RFC] On how to manage tags fetched from remote? rae l
2008-11-19 2:43 ` Junio C Hamano
2008-11-19 4:03 ` rae l
2008-11-19 7:50 ` Kalle Olavi Niemitalo [this message]
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=87skpotar1.fsf@Astalo.kon.iki.fi \
--to=kon@iki.fi \
--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