Skip to contentSkip to conversation

2.6.15-rc2 tag

DISCUSSION J. Bruce Fields 4 participants 6 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Help! I'm confused.

	git-fetch --tags http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

isn't getting me a 2.6.15-rc2 tag. So maybe there's some delay? There does, however, appear to be a file

	http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/tags/v2.6.15-rc2

Its contents are 7305b5cb045e2c71250b5b7472771ed2620bc514 which isn't anything I can find anywhere.

gitweb, on the other hand:

	http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=7305b5cb045e2c71250b5b7472771ed2620bc514

shows 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 as the tagged commit, which is something I do have. What don't I understand?

--b.

#1 lore raw

I'm still not getting a 2.6.15-rc2 tag with either git-clone or git-fetch --tags. Any ideas? Is the problem with me or with the repository?

--b.

Quoted 24 lines · J. Bruce Fields

Help! I'm confused.

	git-fetch --tags http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

isn't getting me a 2.6.15-rc2 tag. So maybe there's some delay? There does, however, appear to be a file

	http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/tags/v2.6.15-rc2

Its contents are 7305b5cb045e2c71250b5b7472771ed2620bc514 which isn't anything I can find anywhere.

gitweb, on the other hand:

	http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tag;h=7305b5cb045e2c71250b5b7472771ed2620bc514

shows 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 as the tagged commit, which is something I do have. What don't I understand?

--b.
-
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 4 lines · J. Bruce Fields

I'm still not getting a 2.6.15-rc2 tag with either git-clone or git-fetch --tags. Any ideas? Is the problem with me or with the repository?

Try using

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

instead. Does that help?

I don't understand how http:// works (or doesn't), so..

Linus

#3 lore raw
Quoted 11 lines · Linus Torvalds
Quoted 4 lines · J. Bruce Fields

I'm still not getting a 2.6.15-rc2 tag with either git-clone or git-fetch --tags. Any ideas? Is the problem with me or with the repository?

Try using

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

instead. Does that help?

Yup, thanks. Is there any reason to ever use http to get to your repository?

Quoted 3 lines

I don't understand how http:// works (or doesn't), so..

From a quick look in ethereal, it seems to be fetching

http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs

which has a list of tags that doesn't include 2.6.15-rc2. What generates that file? Is it broken?

--b.

#4 lore raw
Quoted 2 lines · J. Bruce Fields

Yup, thanks. Is there any reason to ever use http to get to your repository?

Linus's? For you? Probably not. But for others:

1) Corporate firewalls, which only allow HTTP transit, without jumping through hoops.

2) Far easier to find HTTP hosting than rsync or git hosting.

Jeff

#5 lore raw
In reply to Linus Torvalds
Quoted 11 lines · Linus Torvalds
Quoted 4 lines · J. Bruce Fields

I'm still not getting a 2.6.15-rc2 tag with either git-clone or git-fetch --tags. Any ideas? Is the problem with me or with the repository?

Try using

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

instead. Does that help?

It should. And I think git:// should be encouraged over
http://, but some people (including me at work) can only come from http://, so...

Quoted 1 line

I don't understand how http:// works (or doesn't), so..

The difference between git-ls-remote against your repository via
git:// and http:// would tell you. Your info/refs in your repo is stale; git http transport is designed to cope with webservers without dirindex, and only uses info/refs to find out what refs you have in that repository. It does not fall back on "wget -r" behaviour simply because it is a mess (you get all sorts of useless links by doing dirindex in refs/ directory, like Name, Last modified, Size, Parent Directory).

Mind enabling hooks/post-update on the master so that update-server-info is run after you push into it?