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 18, 2006, 10:07 UTC
Message-ID
<20060118100701.GM28365@pasky.or.cz>
In-Reply-To
<7v1wz648jc.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Wed, Jan 18, 2006 at 02:41:27AM CET, I got a letter where Junio C Hamano <junkio@cox.net> said that...

Show 13 quoted lines
> Alex Bennee <kernel-hacker@bennee.com> writes:
> > 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?
> 
> I do not quite understand.  Immediately after the above example
> checkout, before or after doing the hackhack and commit, git
> branch would probably say:
> 
> 	$ git branch
>           origin
> 	  master
>         * myhack

Well if I understand it, at this point he would just periodically fetch and get the tags, and when a new release appears, he would merge it to myhack, and so on. Which is probably the only way if you don't have cg-seek (I thought git checkout could do it, but it doesn't seem to be the case), but I can see no advantage of doing it if you can just cg-seek (unless, after all, you do want to do some development). But just in case, with Cogito that would be:

	$ cg-switch -r v2.6.16-rc1 myhack
	# You need Cogito-0.17.GIT for this. It is equivalent to git
	# branch, I think.
	$ cg-fetch
	$ cg-fetch
	$ cg-fetch
	$ cg-merge v2.6.16-rc2
	$ cg-fetch
	$ cg-merge v2.6.16
	...
-- 
				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: Petr BaudisNext: Andreas Ericsson
Message 7 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.