From: Junio C Hamano <gitster@pobox.com>
To: Jacob Keller <jacob.keller@gmail.com>
Cc: Git List <git@vger.kernel.org>, Johan Herland <johan@herland.net>,
Jeff King <peff@peff.net>
Subject: Re: enhanced remote ref namespaces
Date: Wed, 12 Aug 2015 12:49:51 -0700 [thread overview]
Message-ID: <xmqqwpx0jnhc.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <CA+P7+xq_v+TjqSDC3aR2bdUmCJyj=zLXSE5SbVgOEr+SojOUQQ@mail.gmail.com> (Jacob Keller's message of "Wed, 12 Aug 2015 12:02:07 -0700")
Jacob Keller <jacob.keller@gmail.com> writes:
> That still hasn't really resolved the question of how to deal with
> tags, but it does solve the question of how to deal with replace and
> notes refs.
I do not think it would be a good change to add a
[remote "foo"]
fetch = refs/tags/*:refs/tracking/foo/tags/*
as people do expect to see tags from upstream to appear in their
local tag namespace when cloning from the central meeting point of
their project (e.g. Linus's kernel repository).
I'm willing to believe those who argued that they have both private
tags and public tags in their repository, but I think that would be
something better supported by adding "git tag --local foo" that
creates a local tag in e.g. refs/local-tags/foo, and by teaching
DWIMmery to also look in there when the user says "foo".
Alternatively, they can use their local branch namespace, which is
already private to them.
next prev parent reply other threads:[~2015-08-12 19:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 18:34 enhanced remote ref namespaces Jacob Keller
2015-08-12 18:54 ` Junio C Hamano
2015-08-12 19:02 ` Jacob Keller
2015-08-12 19:49 ` Junio C Hamano [this message]
2015-08-12 22:52 ` Johan Herland
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=xmqqwpx0jnhc.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jacob.keller@gmail.com \
--cc=johan@herland.net \
--cc=peff@peff.net \
/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