Re: [PATCH 0/2] bookmarks
From: Petr Baudis <hidden>
Date: 2016-06-15 22:43:07
On Thu, Apr 26, 2007 at 10:33:36AM CEST, Andy Parkins wrote:
On Thursday 2007 April 26, Andy Parkins wrote:quoted
Actually how about this: an option in the remote section to turn off auto-following and then add fetch and push lines for the tags too - that means very minimal changes and then everyone's happy (where everyone = me ;-)).Funny. I went looking to add the above facility, and lo-and-behold, it's already there in the form of the remote.$remote.tagopt parameter. [remote "origin"] tagopt = --no-tags push = refs/tags/public:refs/tags/* fetch = refs/tags/*:refs/tags/public/* This does exactly what I want. Once again, git is waaaay ahead of me :-)
Still, I think it would be nice to have an "out-of-the-box" general solution for this. And since as Junio said, it might be nice to have private heads as well, I might mention my ancient proposal to just keep refs with filename starting with a dot (refs/tags/.foo, ...) private by default. I have discussed this with Junio and IIRC he wasn't very happy with this proposal, but I can't remember his arguments now. :-( -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett