git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] bookmarks

From
Petr Baudis <pasky@suse.cz>
Date
Apr 26, 2007, 17:09 UTC
Message-ID
<20070426170908.GS4489@pasky.or.cz>
In-Reply-To
<200704260933.38677.andyparkins@gmail.com>
On Thu, Apr 26, 2007 at 10:33:36AM CEST, Andy Parkins wrote:
Show 16 quoted lines
> On Thursday 2007 April 26, Andy Parkins wrote:
> 
> > 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
Previous: Andy ParkinsNext: Andy Parkins
Message 20 of 24 in “git-fetch and unannotated tags”
  1. Andy ParkinsApr 25, 2007
  2. Julian PhillipsApr 25, 2007
  3. Andy ParkinsApr 25, 2007
  4. Junio C HamanoApr 25, 2007
  5. Andy ParkinsApr 26, 2007
  6. Andreas EricssonApr 26, 2007
  7. Jakub NarebskiApr 27, 2007
  8. Junio C HamanoApr 29, 2007
  9. 0/2 bookmarks (was: Re: git-fetch and unannotated tags)Julian Phillips, Apr 25, 2007
  10. 1/2 refs.c: change do_one_ref to not discard any of baseJulian Phillips, Apr 25, 2007
  11. 2/2 Add basic support for bookmarks (create/edit/delete/list)Julian Phillips, Apr 25, 2007
  12. A Large Angry SCMApr 26, 2007
  13. Jeffrey C. OllieApr 26, 2007
  14. Junio C HamanoApr 26, 2007
  15. Julian PhillipsApr 26, 2007
  16. Junio C HamanoApr 26, 2007
  17. Julian PhillipsApr 26, 2007
  18. Andy ParkinsApr 26, 2007
  19. Andy ParkinsApr 26, 2007
  20. Petr BaudisApr 26, 2007
  21. Andy ParkinsApr 26, 2007
  22. Julian PhillipsApr 26, 2007
  23. Karl HasselströmApr 26, 2007
  24. Linus TorvaldsApr 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.