* tags "problem"
@ 2007-09-14 19:31 Rene Herman
2007-09-14 21:14 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Rene Herman @ 2007-09-14 19:31 UTC (permalink / raw)
To: git
Hi people.
(please keep me in CC)
Was just busy constructing a tree and noticed a "problem" -- no doubt caused
by me, but help appreciated.
I clone linus' kernel tree into ./local, then do a
git checkout -b v22 v2.6.22
to get a 2.6.22 branch. I like to have a simple "git pull" while on this
branch pull from the upstream stable tree, so as advised earlier, I put:
[branch "v22"]
remote = linux-2.6.22.y
merge = refs/heads/master
[remote "linux-2.6.22.y"]
url =
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git
fetch = refs/heads/master
in ./git/config. "git pull" now indeed works nicely.
I just noticed now though that this doesn't automatiically fetches tags as
well. That is, no v2.6.22.x tags after that. "git fetch --tags" (or git pull
--tags directly, I assume) gets them without problem, but I was expecting
they'd be fetched automatically.
Should they? Can they? Can I put anything in the config so they will?
Rene.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: tags "problem"
2007-09-14 19:31 tags "problem" Rene Herman
@ 2007-09-14 21:14 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2007-09-14 21:14 UTC (permalink / raw)
To: Rene Herman; +Cc: git
Rene Herman <rene.herman@gmail.com> writes:
> Hi people.
>
> (please keep me in CC)
>
> Was just busy constructing a tree and noticed a "problem" -- no doubt
> caused by me, but help appreciated.
>
> I clone linus' kernel tree into ./local, then do a
>
> git checkout -b v22 v2.6.22
>
> to get a 2.6.22 branch. I like to have a simple "git pull" while on
> this branch pull from the upstream stable tree, so as advised earlier,
> I put:
>
> [branch "v22"]
> remote = linux-2.6.22.y
> merge = refs/heads/master
> [remote "linux-2.6.22.y"]
> url =
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git
> fetch = refs/heads/master
>
> in ./git/config. "git pull" now indeed works nicely.
Perhaps more canonical would be to make the latter fetch as:
fetch = refs/heads/*:refs/remotes/linux-2.6.22.y/*
> I just noticed now though that this doesn't automatiically fetches
> tags as well.
I suspect that fetch without remote tracking does not auto-fetch
the tags.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-14 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-14 19:31 tags "problem" Rene Herman
2007-09-14 21:14 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).