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

Re: [QUESTION] What is a tag for?

From
Petr Baudis <pasky@suse.cz>
Date
Jan 17, 2006, 23:05 UTC
Message-ID
<20060117230537.GK28365@pasky.or.cz>
In-Reply-To
<1137538344.9104.34.camel@malory>
  Hi,

Dear diary, on Tue, Jan 17, 2006 at 11:52:24PM CET, I got a letter where Alex Bennee <kernel-hacker@bennee.com> said that...

Show 15 quoted lines
> So I want to track Linus's 2.6 git tree as well as do a little small
> time hacking. I'm not brave enough to sit on the very bleeding edge and
> build what ever happens to be at the "HEAD" of the tree. However when a
> kernel releases I'd like to build *that* kernel.
> 
> I keep thinking of tags like labels in the old convetional SCM case. Is
> this correct? I can see once I've done my update (fetch/cogito what
> ever) that these tags apear in my local tree:
> 
> 22:42 alex@malory [linux-2.6] >cat .git/refs/tags/v2.6.16-rc1
> f3bcf72eb85aba88a7bd0a6116dd0b5418590dbe
> 
> So what do I do with them now? Are they only for branch points? Is the
> only way to know I'm building 2.6.16-rc1 to branch from it as described
> in git-branch, even if I'm not planning on doing any development?
  the simplest thing to do in Cogito if you just want to follow tags
around is to cg-fetch periodically (that will get the changes to your
local database, but will not check them out), and cg-seek around to
whatever tag you want:
	$ cg-fetch
	$ cg-seek v2.6.16-rc1
	$ cg-fetch
	... no new tag ...
	$ cg-fetch
	... still no new tag ...
	$ cg-fetch
	... Linus, are you sleeping? ...
	$ cg-fetch
	$ cg-seek v2.6.16-rc2
	...
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams
Previous: Alex BenneeNext: Junio C Hamano
Message 2 of 12 in “[QUESTION] What is a tag for?”
  1. Alex BenneeJan 17, 2006
  2. Petr BaudisJan 17, 2006
  3. Junio C HamanoJan 18, 2006
  4. Linus TorvaldsJan 18, 2006
  5. Junio C HamanoJan 18, 2006
  6. Petr BaudisJan 18, 2006
  7. Petr BaudisJan 18, 2006
  8. Andreas EricssonJan 18, 2006
  9. Junio C HamanoJan 18, 2006
  10. Andreas EricssonJan 18, 2006
  11. Junio C HamanoJan 25, 2006
  12. Andreas EricssonJan 25, 2006

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.