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