From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <junkio@cox.net>,
Julian Phillips <julian@quantumfyre.co.uk>
Subject: Re: git-fetch and unannotated tags
Date: Thu, 26 Apr 2007 09:04:07 +0100 [thread overview]
Message-ID: <200704260904.08447.andyparkins@gmail.com> (raw)
In-Reply-To: <7vfy6ow4my.fsf@assigned-by-dhcp.cox.net>
On Wednesday 2007 April 25, Junio C Hamano wrote:
> >> You could even modify git-tag to create them for you with some
> >> appropriate switch ...
> >
> > Well yes, but that's the answer to everything isn't it?
>
> The answer to everything you want to change the current
> behaviour is to code something that implement that change. What
> else is new?
Apologies - I wasn't saying that someone else should add features I want, I
was saying that locally changing /my/ git-tag isn't very useful. I already
get by with git, so when I post suggestions to the mailing list it's usually
with respect to the wider context. In this case, patching git-tag to create
refs/andys-private-tags/ doesn't seem like the right thing to do in mainline
git :-)
> I suspect that if you look at what git-fetch.sh does in the
> paragraph that follows /^# automated tag following/, it probably
> is not that much change. At that point,
... snip ...
That advice on the other hand is excellent.
Is this something that others would be in favour of? I'm soliciting for
reasons why unannotated tags should be auto-followed?
> Take a look at exclude_existing() function in builtin-show-ref.c;
> your additional option to the command would say something like:
I'd be arguing for making not following unannotated tags the default, and then
supply a switch to make them followed. Is that too painful? I think that's
in keeping with the tradition that unannotated tags are, typically, not
wanted in a central repository - the default update hook prevents it for
example.
Andy
--
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
next prev parent reply other threads:[~2007-04-26 8:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 19:04 git-fetch and unannotated tags Andy Parkins
2007-04-25 19:59 ` Julian Phillips
2007-04-25 20:42 ` Andy Parkins
2007-04-25 21:00 ` Junio C Hamano
2007-04-26 8:04 ` Andy Parkins [this message]
2007-04-26 15:21 ` Andreas Ericsson
2007-04-27 15:50 ` Jakub Narebski
2007-04-29 6:44 ` Junio C Hamano
2007-04-25 22:51 ` [PATCH 0/2] bookmarks (was: Re: git-fetch and unannotated tags) Julian Phillips
2007-04-25 22:25 ` [PATCH 1/2] refs.c: change do_one_ref to not discard any of base Julian Phillips
2007-04-25 22:29 ` [PATCH 2/2] Add basic support for bookmarks (create/edit/delete/list) Julian Phillips
2007-04-26 0:17 ` A Large Angry SCM
2007-04-26 0:29 ` Jeffrey C. Ollie
2007-04-26 5:53 ` [PATCH 0/2] bookmarks Junio C Hamano
2007-04-26 7:25 ` Julian Phillips
2007-04-26 7:50 ` Junio C Hamano
2007-04-26 9:04 ` Julian Phillips
2007-04-26 8:23 ` Andy Parkins
2007-04-26 8:33 ` Andy Parkins
2007-04-26 17:09 ` Petr Baudis
2007-04-26 8:08 ` [PATCH 0/2] bookmarks (was: Re: git-fetch and unannotated tags) Andy Parkins
2007-04-26 9:00 ` Julian Phillips
2007-04-26 13:45 ` Karl Hasselström
2007-04-26 16:19 ` Linus Torvalds
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=200704260904.08447.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
--cc=julian@quantumfyre.co.uk \
--cc=junkio@cox.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;
as well as URLs for NNTP newsgroup(s).