{"thread":{"id":"13793","subject":"Re: git clone stable-2.6.25.y fails over HTTP","startedAt":"2008-06-04T15:45:23Z","lastAt":"2008-06-06T21:54:00Z","messageCount":12,"participants":["Greg KH","Junio C Hamano","Jakub Narebski","Daniel Barkalow"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"78631","messageId":"20080604154523.GA25747@kroah.com","threadId":"13793","inReplyTo":"200806041511.m54FBPL9006783@pogo.cesa.opbu.xerox.com","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2008-06-04T15:45:23Z","receivedAt":"2008-06-04T15:45:23Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Wed, Jun 04, 2008 at 08:11:24AM -0700, Andrew Klossner wrote:\n> Greg wrote:\n> \n> > I don't think I remembered to run 'git-update-server-info' on the\n> > repository.  I just did it, let me know if that works better or not.\n> \n> I get the same error.\n> \n>   -=- Andrew\n> \n> % git clone http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2 .6.25.y.git\n> Initialized empty Git repository in /work/andrew/http-git/linux-2.6.25.y/.git/\n> Getting alternates list for http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n> Also look at http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Getting pack list for http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n> Getting index for pack 6506d57e29d10a0ed9cca269f97296606aeb0b5b\n> Getting index for pack 067caec25377d65e503d626a6c4f3f7e392406a3\n> Getting index for pack 5434817c4def8a894fe4d61f55e8e4117485cbe7\n> Getting pack 067caec25377d65e503d626a6c4f3f7e392406a3\n>  which contains a82a9bfebc74862798a3f6949fe6f6a959c1fd4e\n> walk a82a9bfebc74862798a3f6949fe6f6a959c1fd4e\n> walk 15c2419876173c417a119b5665ecc62520e50a6c\n> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n> Cannot obtain needed blob fdcce40226d7d4273a08cc4ef84bb25755a710a4\n> while processing commit 15c2419876173c417a119b5665ecc62520e50a6c.\n\n\nHm, I really do not know, and I can duplicate this myself as well.\n\n<adding the git mailing list>\n\nDoes anyone know what's going on here?  The stable git trees are created\nby doing:\n\tgit clone -s --bare\nfrom Linus's main tree to the stable tree repo location.\n\nIt looks like git over http isn't following the link somehow to the main\nrepo?\n\nOr is what is necessary to do is to clone Linus's tree and then pull\nfrom the stable tree in this kind of situation (where the user can only\nuse git over http?)\n\nthanks,\n\ngreg k-h\n"},{"id":"78637","messageId":"7vr6bdxh3l.fsf@gitster.siamese.dyndns.org","threadId":"13793","inReplyTo":"20080604154523.GA25747@kroah.com","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-06-04T17:09:02Z","receivedAt":"2008-06-04T17:09:02Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Greg KH <greg@kroah.com> writes:\n\n>> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n> ...\n> It looks like git over http isn't following the link somehow to the main\n> repo?\n\nYeah, see above.  www.kernel.org does not like to serve /home/ftp/pub/scm\npath; it wants to serve it as /pub/scm/linux instead.\n\nYour objects/info/alternates in 2.6.24.y points at /pub/scm/linux/kernel/git/torvalds/...\nbut in 2.6.25.y it has extra /home/ftp in front of it.\n\nA quick fix is obviously to remove the extra prefix but it makes me wonder\nhow these two \"stable\" repositories were prepared differently.  Could this\nbe a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\nrepository slightly differently between them?\n"},{"id":"78641","messageId":"m363spyta3.fsf@localhost.localdomain","threadId":"13793","inReplyTo":"7vr6bdxh3l.fsf@gitster.siamese.dyndns.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-06-04T18:00:41Z","receivedAt":"2008-06-04T18:00:41Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> Greg KH <greg@kroah.com> writes:\n> \n>>> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>>> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n>> ...\n>> It looks like git over http isn't following the link somehow to the main\n>> repo?\n> \n> Yeah, see above.  www.kernel.org does not like to serve /home/ftp/pub/scm\n> path; it wants to serve it as /pub/scm/linux instead.\n> \n> Your objects/info/alternates in 2.6.24.y points at /pub/scm/linux/kernel/git/torvalds/...\n> but in 2.6.25.y it has extra /home/ftp in front of it.\n> \n> A quick fix is obviously to remove the extra prefix but it makes me wonder\n> how these two \"stable\" repositories were prepared differently.  Could this\n> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n> repository slightly differently between them?\n\nErrr... isn't it the case for objects/info/http-alternates ?\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"78643","messageId":"7v63spxem0.fsf@gitster.siamese.dyndns.org","threadId":"13793","inReplyTo":"m363spyta3.fsf@localhost.localdomain","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-06-04T18:02:47Z","receivedAt":"2008-06-04T18:02:47Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jakub Narebski <jnareb@gmail.com> writes:\n\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>> Greg KH <greg@kroah.com> writes:\n>> \n>>>> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>>>> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n>>> ...\n>>> It looks like git over http isn't following the link somehow to the main\n>>> repo?\n>> \n>> Yeah, see above.  www.kernel.org does not like to serve /home/ftp/pub/scm\n>> path; it wants to serve it as /pub/scm/linux instead.\n>> \n>> Your objects/info/alternates in 2.6.24.y points at /pub/scm/linux/kernel/git/torvalds/...\n>> but in 2.6.25.y it has extra /home/ftp in front of it.\n>> \n>> A quick fix is obviously to remove the extra prefix but it makes me wonder\n>> how these two \"stable\" repositories were prepared differently.  Could this\n>> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n>> repository slightly differently between them?\n>\n> Errr... isn't it the case for objects/info/http-alternates ?\n\nYou do not have to use that http specific hack.  On these machines, /pub\nactually points at /home/ftp/pub with a symlink.\n"},{"id":"78692","messageId":"20080605040315.GA21798@kroah.com","threadId":"13793","inReplyTo":"7vr6bdxh3l.fsf@gitster.siamese.dyndns.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2008-06-05T04:03:15Z","receivedAt":"2008-06-05T04:03:15Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Wed, Jun 04, 2008 at 10:09:02AM -0700, Junio C Hamano wrote:\n> Greg KH <greg@kroah.com> writes:\n> \n> >> Getting pack list for http://www.kernel.org/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> >> error: Unable to find fdcce40226d7d4273a08cc4ef84bb25755a710a4 under http://www.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git\n> > ...\n> > It looks like git over http isn't following the link somehow to the main\n> > repo?\n> \n> Yeah, see above.  www.kernel.org does not like to serve /home/ftp/pub/scm\n> path; it wants to serve it as /pub/scm/linux instead.\n> \n> Your objects/info/alternates in 2.6.24.y points at /pub/scm/linux/kernel/git/torvalds/...\n> but in 2.6.25.y it has extra /home/ftp in front of it.\n> \n> A quick fix is obviously to remove the extra prefix but it makes me wonder\n> how these two \"stable\" repositories were prepared differently.  Could this\n> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n> repository slightly differently between them?\n\nThat's odd.\n\nChris was the one that created the .24 tree and I created the .25 tree,\nso we must have done so differently, sorry.\n\nI've edited the alternates file, so it should work now, sorry about\nthat.\n\nthanks,\n\ngreg k-h\n"},{"id":"78693","messageId":"7vabi05xl1.fsf@gitster.siamese.dyndns.org","threadId":"13793","inReplyTo":"20080605040315.GA21798@kroah.com","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-06-05T04:12:42Z","receivedAt":"2008-06-05T04:12:42Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Greg KH <greg@kroah.com> writes:\n\n> On Wed, Jun 04, 2008 at 10:09:02AM -0700, Junio C Hamano wrote:\n>\n>> A quick fix is obviously to remove the extra prefix but it makes me wonder\n>> how these two \"stable\" repositories were prepared differently.  Could this\n>> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n>> repository slightly differently between them?\n>\n> That's odd.\n>\n> Chris was the one that created the .24 tree and I created the .25 tree,\n> so we must have done so differently, sorry.\n\nNo need to be sorry.  Thanks for raising the issue up.\n\nI think I have one possible explanation.  When \"git clone\" was rewritten\nin C some time ago, it started to dereference symlinks, and newer git\nwould dereference /pub -> /home/ftp/pub when you do:\n\n\tgit clone -s --bare /pub/scm/linux/kernel/git/torvalds/linux-2.6/ linux-2.6.2x.y\n\nwhile the scripted version used to keep /pub/scm path.\n\nA bit further digging is necessary to make sure if we can fix this easily,\nbut I suspect this is worth fixing.\n"},{"id":"78701","messageId":"20080605050855.GA22825@kroah.com","threadId":"13793","inReplyTo":"7vabi05xl1.fsf@gitster.siamese.dyndns.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2008-06-05T05:08:55Z","receivedAt":"2008-06-05T05:08:55Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Wed, Jun 04, 2008 at 09:12:42PM -0700, Junio C Hamano wrote:\n> Greg KH <greg@kroah.com> writes:\n> \n> > On Wed, Jun 04, 2008 at 10:09:02AM -0700, Junio C Hamano wrote:\n> >\n> >> A quick fix is obviously to remove the extra prefix but it makes me wonder\n> >> how these two \"stable\" repositories were prepared differently.  Could this\n> >> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n> >> repository slightly differently between them?\n> >\n> > That's odd.\n> >\n> > Chris was the one that created the .24 tree and I created the .25 tree,\n> > so we must have done so differently, sorry.\n> \n> No need to be sorry.  Thanks for raising the issue up.\n> \n> I think I have one possible explanation.  When \"git clone\" was rewritten\n> in C some time ago, it started to dereference symlinks, and newer git\n> would dereference /pub -> /home/ftp/pub when you do:\n> \n> \tgit clone -s --bare /pub/scm/linux/kernel/git/torvalds/linux-2.6/ linux-2.6.2x.y\n> \n> while the scripted version used to keep /pub/scm path.\n> \n> A bit further digging is necessary to make sure if we can fix this easily,\n> but I suspect this is worth fixing.\n\nI can duplicate what I did, and it did it again:\n\ton master.kernel.org:\n\t$ cd /pub/scm/linux/kernel/git/stable/\n\t$ git clone -s --bare ../torvalds/linux-2.6.git/ test\n\t$ cat test/objects/info/alternates\n\t/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n\nI'm guessing this is because /pub/ is a symlink:\n\t$ ls -l /pub\n\tlrwxrwxrwx 1 root root 13 Feb  4  2006 /pub -> /home/ftp/pub\n\n\t$ git --version\n\tgit version 1.5.5.3\n\nthanks,\n\ngreg k-h\n"},{"id":"78820","messageId":"alpine.LNX.1.00.0806051546480.19665@iabervon.org","threadId":"13793","inReplyTo":"20080605050855.GA22825@kroah.com","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2008-06-05T20:53:57Z","receivedAt":"2008-06-05T20:53:57Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"On Wed, 4 Jun 2008, Greg KH wrote:\n\n> On Wed, Jun 04, 2008 at 09:12:42PM -0700, Junio C Hamano wrote:\n> > Greg KH <greg@kroah.com> writes:\n> > \n> > > On Wed, Jun 04, 2008 at 10:09:02AM -0700, Junio C Hamano wrote:\n> > >\n> > >> A quick fix is obviously to remove the extra prefix but it makes me wonder\n> > >> how these two \"stable\" repositories were prepared differently.  Could this\n> > >> be a regression in \"git clone\"?  Or perhaps you \"clone -s\"'s Linus's\n> > >> repository slightly differently between them?\n> > >\n> > > That's odd.\n> > >\n> > > Chris was the one that created the .24 tree and I created the .25 tree,\n> > > so we must have done so differently, sorry.\n> > \n> > No need to be sorry.  Thanks for raising the issue up.\n> > \n> > I think I have one possible explanation.  When \"git clone\" was rewritten\n> > in C some time ago, it started to dereference symlinks, and newer git\n> > would dereference /pub -> /home/ftp/pub when you do:\n> > \n> > \tgit clone -s --bare /pub/scm/linux/kernel/git/torvalds/linux-2.6/ linux-2.6.2x.y\n> > \n> > while the scripted version used to keep /pub/scm path.\n> > \n> > A bit further digging is necessary to make sure if we can fix this easily,\n> > but I suspect this is worth fixing.\n> \n> I can duplicate what I did, and it did it again:\n> \ton master.kernel.org:\n> \t$ cd /pub/scm/linux/kernel/git/stable/\n> \t$ git clone -s --bare ../torvalds/linux-2.6.git/ test\n> \t$ cat test/objects/info/alternates\n> \t/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n> \n> I'm guessing this is because /pub/ is a symlink:\n> \t$ ls -l /pub\n> \tlrwxrwxrwx 1 root root 13 Feb  4  2006 /pub -> /home/ftp/pub\n\nWe're using getcwd() to make the absolute path, but it looks like we \nshould check whether $PWD is set and names the same directory, and, if so, \nbase on that instead.\n\nActually, make_absolute_path() seems to go to an awful lot of trouble to \nmake sure that there aren't symlinks in the resulting path. Is this \nactually necessary or even desireable for some reason? Should clone be \njust pasting $PWD (or, failing that, getcwd()) and the given path, and \nusing that to identify the repo to clone?\n\n\t-Daniel\n*This .sig left intentionally blank*\n"},{"id":"78827","messageId":"7vzlpzzi8c.fsf@gitster.siamese.dyndns.org","threadId":"13793","inReplyTo":"alpine.LNX.1.00.0806051546480.19665@iabervon.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-06-05T21:26:11Z","receivedAt":"2008-06-05T21:26:11Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Daniel Barkalow <barkalow@iabervon.org> writes:\n\n> On Wed, 4 Jun 2008, Greg KH wrote:\n> ...\n>> I can duplicate what I did, and it did it again:\n>> \ton master.kernel.org:\n>> \t$ cd /pub/scm/linux/kernel/git/stable/\n>> \t$ git clone -s --bare ../torvalds/linux-2.6.git/ test\n>> \t$ cat test/objects/info/alternates\n>> \t/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n>> \n>> I'm guessing this is because /pub/ is a symlink:\n>> \t$ ls -l /pub\n>> \tlrwxrwxrwx 1 root root 13 Feb  4  2006 /pub -> /home/ftp/pub\n>\n> We're using getcwd() to make the absolute path, but it looks like we \n> should check whether $PWD is set and names the same directory, and, if so, \n> base on that instead.\n>\n> Actually, make_absolute_path() seems to go to an awful lot of trouble to \n> make sure that there aren't symlinks in the resulting path. Is this \n> actually necessary or even desireable for some reason? Should clone be \n> just pasting $PWD (or, failing that, getcwd()) and the given path, and \n> using that to identify the repo to clone?\n\nI am not 100% sympathetic if ../torvalds/linux-2.6.git/ was what caused\nthis.  Perhaps 30% or so ;-).\n\nHowever, I think /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ would\nresult in the same breakage, and that is something I consider gravely\nbroken.\n\nIf both are fixed by rethinking the make_absolute_path(), that would be\ngood.\n"},{"id":"78954","messageId":"20080606204814.GE11209@kroah.com","threadId":"13793","inReplyTo":"7vzlpzzi8c.fsf@gitster.siamese.dyndns.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2008-06-06T20:48:14Z","receivedAt":"2008-06-06T20:48:14Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Thu, Jun 05, 2008 at 02:26:11PM -0700, Junio C Hamano wrote:\n> Daniel Barkalow <barkalow@iabervon.org> writes:\n> \n> > On Wed, 4 Jun 2008, Greg KH wrote:\n> > ...\n> >> I can duplicate what I did, and it did it again:\n> >> \ton master.kernel.org:\n> >> \t$ cd /pub/scm/linux/kernel/git/stable/\n> >> \t$ git clone -s --bare ../torvalds/linux-2.6.git/ test\n> >> \t$ cat test/objects/info/alternates\n> >> \t/home/ftp/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects\n> >> \n> >> I'm guessing this is because /pub/ is a symlink:\n> >> \t$ ls -l /pub\n> >> \tlrwxrwxrwx 1 root root 13 Feb  4  2006 /pub -> /home/ftp/pub\n> >\n> > We're using getcwd() to make the absolute path, but it looks like we \n> > should check whether $PWD is set and names the same directory, and, if so, \n> > base on that instead.\n> >\n> > Actually, make_absolute_path() seems to go to an awful lot of trouble to \n> > make sure that there aren't symlinks in the resulting path. Is this \n> > actually necessary or even desireable for some reason? Should clone be \n> > just pasting $PWD (or, failing that, getcwd()) and the given path, and \n> > using that to identify the repo to clone?\n> \n> I am not 100% sympathetic if ../torvalds/linux-2.6.git/ was what caused\n> this.  Perhaps 30% or so ;-).\n\nI agree, if I did something stupid like this, that's my fault.  I didn't\nrealize that it was stupid, so I guess a simple warning, \"don't use\nrelative paths when cloning with alternates\" would have told me so.\n\n> However, I think /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ would\n> result in the same breakage, and that is something I consider gravely\n> broken.\n\nYeah, especially as I never realized that /pub/ was a symlink in the\nfirst place :)\n\nthanks,\n\ngreg k-h\n"},{"id":"78955","messageId":"7vd4muth2e.fsf@gitster.siamese.dyndns.org","threadId":"13793","inReplyTo":"20080606204814.GE11209@kroah.com","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-06-06T21:00:09Z","receivedAt":"2008-06-06T21:00:09Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Greg KH <greg@kroah.com> writes:\n\n> On Thu, Jun 05, 2008 at 02:26:11PM -0700, Junio C Hamano wrote:\n>\n>> However, I think /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ would\n>> result in the same breakage, and that is something I consider gravely\n>> broken.\n>\n> Yeah, especially as I never realized that /pub/ was a symlink in the\n> first place :)\n\nAnd it was even worse than that.  Even if you knew /pub was a symlink, you\ncould not have done anything about it, short of editing the alternates\nfile in the resulting repository by hand.\n\nUp until now, that is.\n\nDaniel's patch seems to fix the issue for me and it will be included in\ntonight's pushout among other fixes.\n\nThanks.\n"},{"id":"78963","messageId":"20080606215359.GA4914@kroah.com","threadId":"13793","inReplyTo":"7vd4muth2e.fsf@gitster.siamese.dyndns.org","subject":"Re: git clone stable-2.6.25.y fails over HTTP","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2008-06-06T21:54:00Z","receivedAt":"2008-06-06T21:54:00Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Fri, Jun 06, 2008 at 02:00:09PM -0700, Junio C Hamano wrote:\n> Greg KH <greg@kroah.com> writes:\n> \n> > On Thu, Jun 05, 2008 at 02:26:11PM -0700, Junio C Hamano wrote:\n> >\n> >> However, I think /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/ would\n> >> result in the same breakage, and that is something I consider gravely\n> >> broken.\n> >\n> > Yeah, especially as I never realized that /pub/ was a symlink in the\n> > first place :)\n> \n> And it was even worse than that.  Even if you knew /pub was a symlink, you\n> could not have done anything about it, short of editing the alternates\n> file in the resulting repository by hand.\n\nHeh, true :)\n\n> Up until now, that is.\n> \n> Daniel's patch seems to fix the issue for me and it will be included in\n> tonight's pushout among other fixes.\n\nGreat, thanks a lot for the fix everyone.\n\ngreg k-h\n"}]}