{"thread":{"id":"15775","subject":"git://oss.sgi.com broke","startedAt":"2008-10-03T19:19:03Z","lastAt":"2008-10-07T17:39:56Z","messageCount":10,"participants":["Andrew Morton","Christoph Hellwig","Russell Cattelan","Linus Torvalds","Samuel Tardieu","Daniel Barkalow"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"92267","messageId":"20081003121903.6c9a7ebc.akpm@linux-foundation.org","threadId":"15775","inReplyTo":null,"subject":"git://oss.sgi.com broke","fromName":"Andrew Morton","fromEmail":"akpm@linux-foundation.org","sentAt":"2008-10-03T19:19:03Z","receivedAt":"2008-10-03T19:19:03Z","isPatch":false,"sender":{"key":"akpm@linux-foundation.org","avatar":null},"body":"y:/usr/src/git26> git --version\ngit version 1.5.6.rc0\n\ny:/usr/src/git26> cat .git/branches/git-xfs\ngit://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n\ny:/usr/src/git26> git-fetch git-xfs        \nremote: usage: git-pack-objects [{ -q | --progress | --all-progress }] \nremote:         [--max-pack-size=N] [--local] [--incremental] \nremote:         [--window=N] [-remote: -window-memory=N] [--depth=N] \nremote:         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \nremote:         [--threads=N] [--non-empty] [--reremote: vs [--unpacked | --all]*] [--reflog] \nremote:         [--stdout | base-name] [--keep-unreachable] [<ref-list | <object-list]\nremote: aborting due to possible repository corruption on the remote side.\nfatal: protocol error: bad pack header\n\nIt was OK yesterday.\n\n(cc'ing the git list in case this is an faq?)\n\nThe last two error messages there look wrong/misleading?\n"},{"id":"92268","messageId":"20081003192740.GA16438@lst.de","threadId":"15775","inReplyTo":"20081003121903.6c9a7ebc.akpm@linux-foundation.org","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Christoph Hellwig","fromEmail":"hch@lst.de","sentAt":"2008-10-03T19:27:40Z","receivedAt":"2008-10-03T19:27:40Z","isPatch":false,"sender":{"key":"hch@lst.de","avatar":null},"body":"On Fri, Oct 03, 2008 at 12:19:03PM -0700, Andrew Morton wrote:\n> It was OK yesterday.\n> \n> (cc'ing the git list in case this is an faq?)\n> \n> The last two error messages there look wrong/misleading?\n\nGit pull still works fine for me..\n"},{"id":"92428","messageId":"48EA3D63.2080703@thebarn.com","threadId":"15775","inReplyTo":"20081003121903.6c9a7ebc.akpm@linux-foundation.org","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Russell Cattelan","fromEmail":"cattelan@thebarn.com","sentAt":"2008-10-06T16:31:31Z","receivedAt":"2008-10-06T16:31:31Z","isPatch":false,"sender":{"key":"cattelan@thebarn.com","avatar":null},"body":"Andrew Morton wrote:\n> y:/usr/src/git26> git --version\n> git version 1.5.6.rc0\n>\n> y:/usr/src/git26> cat .git/branches/git-xfs\n> git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n>\n> y:/usr/src/git26> git-fetch git-xfs        \n> remote: usage: git-pack-objects [{ -q | --progress | --all-progress }] \n> remote:         [--max-pack-size=N] [--local] [--incremental] \n> remote:         [--window=N] [-remote: -window-memory=N] [--depth=N] \n> remote:         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n> remote:         [--threads=N] [--non-empty] [--reremote: vs [--unpacked | --all]*] [--reflog] \n> remote:         [--stdout | base-name] [--keep-unreachable] [<ref-list | <object-list]\n> remote: aborting due to possible repository corruption on the remote side.\n> fatal: protocol error: bad pack header\n>\n> It was OK yesterday.\n>   \n\nHmm sees to work for me.\noss is running a newer version of git 1.6.0.2,  I wonder if there some \nversion incomparability happening?\nI'm using 1.5.6.4 on my remote client and it did a clone just fine.\nAhh but indeed a fetch failed ...\nBut it also fails with using v1.5.6.5 of git-daemon ...\n\nSo I don't know what is going on.\n\nI'll keep digging into it.\n\nOhh and BTW we finally got the firewall set up to allow native git traffic\nso you can drop port 8090 from the url.\n\n\n\n\n\n> (cc'ing the git list in case this is an faq?)\n>\n> The last two error messages there look wrong/misleading?\n>\n>   \n"},{"id":"92430","messageId":"alpine.LFD.2.00.0810061005540.3208@nehalem.linux-foundation.org","threadId":"15775","inReplyTo":"20081003121903.6c9a7ebc.akpm@linux-foundation.org","subject":"Re: git://oss.sgi.com broke","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2008-10-06T17:14:06Z","receivedAt":"2008-10-06T17:14:06Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Fri, 3 Oct 2008, Andrew Morton wrote:\n>\n> y:/usr/src/git26> git --version\n> git version 1.5.6.rc0\n> \n> y:/usr/src/git26> cat .git/branches/git-xfs\n> git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n\nHmm. That's the really old and deprecated branch format.\n\nI'm getting a \"Connection refused\" from oss.sgi.com, and I think there's \npossibly something broken there, but quite independently of that, maybe we \ncan try to teach you another way to set up remote branches?\n\nIn your .git/config file, use\n\n\t[remote \"git-xfs\"]\n\t\turl = git://oss.sgi.com:8090/xfs/xfs-2.6.git\n\t\tfetch = master\n\nbecause the whole .git/branches/<branch-name> thing is fairly deprecated, \nand cannot handle some things that the .git/config file format can (like \nsaying where to fetch into, or how to push back etc).\n\n\t\tLinus\n"},{"id":"92432","messageId":"48EA4B22.2050900@thebarn.com","threadId":"15775","inReplyTo":"20081003121903.6c9a7ebc.akpm@linux-foundation.org","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Russell Cattelan","fromEmail":"cattelan@thebarn.com","sentAt":"2008-10-06T17:30:10Z","receivedAt":"2008-10-06T17:30:10Z","isPatch":false,"sender":{"key":"cattelan@thebarn.com","avatar":null},"body":"Andrew Morton wrote:\n> y:/usr/src/git26> git --version\n> git version 1.5.6.rc0\n>\n> y:/usr/src/git26> cat .git/branches/git-xfs\n> git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n>\n> y:/usr/src/git26> git-fetch git-xfs        \n> remote: usage: git-pack-objects [{ -q | --progress | --all-progress }] \n> remote:         [--max-pack-size=N] [--local] [--incremental] \n> remote:         [--window=N] [-remote: -window-memory=N] [--depth=N] \n> remote:         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n> remote:         [--threads=N] [--non-empty] [--reremote: vs [--unpacked | --all]*] [--reflog] \n> remote:         [--stdout | base-name] [--keep-unreachable] [<ref-list | <object-list]\n> remote: aborting due to possible repository corruption on the remote side.\n> fatal: protocol error: bad pack header\n>\n> It was OK yesterday.\n>\n> (cc'ing the git list in case this is an faq?)\n>\n> The last two error messages there look wrong/misleading?\n>\n>   \nOk not sure exactly what was wrong but it looks like there was some \nconfusion\nwith older git bits still install on oss.\n\nI manually cleaned everything from the system and reinstalled git from a \nfresh \"make rpm\" rpm.\n\nPlease try your pull again and see if the problem is resolved.\n\n-Russell\n"},{"id":"92433","messageId":"2008-10-06-19-34-30+trackit+sam@rfc1149.net","threadId":"15775","inReplyTo":"48EA3D63.2080703@thebarn.com","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Samuel Tardieu","fromEmail":"sam@rfc1149.net","sentAt":"2008-10-06T17:34:30Z","receivedAt":"2008-10-06T17:34:30Z","isPatch":false,"sender":{"key":"sam@rfc1149.net","avatar":"https://avatars.githubusercontent.com/u/44656?v=4"},"body":">>>>> \"Russell\" == Russell Cattelan <cattelan@thebarn.com> writes:\n\nRussell> I'm using 1.5.6.4 on my remote client and it did a clone\nRussell> just fine.  Ahh but indeed a fetch failed ...  But it also\nRussell> fails with using v1.5.6.5 of git-daemon ...\n\nI also have an error with \"fetch\" (while it works with \"clone\") on\n\n  git://gcc.gnu.org/git/gcc.git\n\nThe error I get is from index-pack.c:get_index_from_pack():\n\n% git fetch\nremote: Generating pack...\nremote: Done counting 6230 objects.\nremote: Result has 3856 objects.\nremote: Deltifying 3856 objects...\nremote:  100% (3856/3856) done\nremote: Total 3856 (delta 3234), reused 7 (delta 5)\nReceiving objects: 100% (3856/3856), 6.99 MiB | 50 KiB/s, done.\nfatal: premature end of pack file, 1858 bytes missing\nfatal: index-pack failed\n\n(the \"premature end of pack file\" message comes from a patch I\njust submitted, before that it was a bogus error message due\nto an improper use of errno)\n\nI am using the latest spearce/next GIT, I don't know what version\nruns on the FSF machine. Daniel, do you have this info?\n\n  Sam\n-- \nSamuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/\n"},{"id":"92435","messageId":"2008-10-06-19-37-06+trackit+sam@rfc1149.net","threadId":"15775","inReplyTo":"48EA3D63.2080703@thebarn.com","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Samuel Tardieu","fromEmail":"sam@rfc1149.net","sentAt":"2008-10-06T17:37:06Z","receivedAt":"2008-10-06T17:37:06Z","isPatch":false,"sender":{"key":"sam@rfc1149.net","avatar":"https://avatars.githubusercontent.com/u/44656?v=4"},"body":"[resent, Daniel's address got mangled on my side]\n\n>>>>> \"Russell\" == Russell Cattelan <cattelan@thebarn.com> writes:\n\nRussell> I'm using 1.5.6.4 on my remote client and it did a clone\nRussell> just fine.  Ahh but indeed a fetch failed ...  But it also\nRussell> fails with using v1.5.6.5 of git-daemon ...\n\nI also have an error with \"fetch\" (while it works with \"clone\") on\n\n  git://gcc.gnu.org/git/gcc.git\n\nThe error I get is from index-pack.c:get_index_from_pack():\n\n% git fetch\nremote: Generating pack...\nremote: Done counting 6230 objects.\nremote: Result has 3856 objects.\nremote: Deltifying 3856 objects...\nremote:  100% (3856/3856) done\nremote: Total 3856 (delta 3234), reused 7 (delta 5)\nReceiving objects: 100% (3856/3856), 6.99 MiB | 50 KiB/s, done.\nfatal: premature end of pack file, 1858 bytes missing\nfatal: index-pack failed\n\n(the \"premature end of pack file\" message comes from a patch I\njust submitted, before that it was a bogus error message due\nto an improper use of errno)\n\nI am using the latest spearce/next GIT, I don't know what version\nruns on the FSF machine. Daniel, do you have this info?\n\n  Sam\n-- \nSamuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/\n"},{"id":"92440","messageId":"alpine.LNX.1.00.0810061353140.19665@iabervon.org","threadId":"15775","inReplyTo":"alpine.LFD.2.00.0810061005540.3208@nehalem.linux-foundation.org","subject":"Re: git://oss.sgi.com broke","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2008-10-06T17:58:02Z","receivedAt":"2008-10-06T17:58:02Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"On Mon, 6 Oct 2008, Linus Torvalds wrote:\n\n> On Fri, 3 Oct 2008, Andrew Morton wrote:\n> >\n> > y:/usr/src/git26> git --version\n> > git version 1.5.6.rc0\n> > \n> > y:/usr/src/git26> cat .git/branches/git-xfs\n> > git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n> \n> Hmm. That's the really old and deprecated branch format.\n> \n> I'm getting a \"Connection refused\" from oss.sgi.com, and I think there's \n> possibly something broken there, but quite independently of that, maybe we \n> can try to teach you another way to set up remote branches?\n> \n> In your .git/config file, use\n> \n> \t[remote \"git-xfs\"]\n> \t\turl = git://oss.sgi.com:8090/xfs/xfs-2.6.git\n> \t\tfetch = master\n> \n> because the whole .git/branches/<branch-name> thing is fairly deprecated, \n> and cannot handle some things that the .git/config file format can (like \n> saying where to fetch into, or how to push back etc).\n\nI think Andrew convinced us to undeprecate that format, because he wants \nto be able to configure each branch with one line in a separate file. In \nany case, remote.c takes care of these things seemlessly.\n\n\t-Daniel\n*This .sig left intentionally blank*\n"},{"id":"92554","messageId":"20081007103208.6fb4f0a6.akpm@linux-foundation.org","threadId":"15775","inReplyTo":"alpine.LNX.1.00.0810061353140.19665@iabervon.org","subject":"Re: git://oss.sgi.com broke","fromName":"Andrew Morton","fromEmail":"akpm@linux-foundation.org","sentAt":"2008-10-07T17:32:08Z","receivedAt":"2008-10-07T17:32:08Z","isPatch":false,"sender":{"key":"akpm@linux-foundation.org","avatar":null},"body":"On Mon, 6 Oct 2008 13:58:02 -0400 (EDT) Daniel Barkalow <barkalow@iabervon.org> wrote:\n\n> On Mon, 6 Oct 2008, Linus Torvalds wrote:\n> \n> > On Fri, 3 Oct 2008, Andrew Morton wrote:\n> > >\n> > > y:/usr/src/git26> git --version\n> > > git version 1.5.6.rc0\n> > > \n> > > y:/usr/src/git26> cat .git/branches/git-xfs\n> > > git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n> > \n> > Hmm. That's the really old and deprecated branch format.\n> > \n> > I'm getting a \"Connection refused\" from oss.sgi.com, and I think there's \n> > possibly something broken there, but quite independently of that, maybe we \n> > can try to teach you another way to set up remote branches?\n> > \n> > In your .git/config file, use\n> > \n> > \t[remote \"git-xfs\"]\n> > \t\turl = git://oss.sgi.com:8090/xfs/xfs-2.6.git\n> > \t\tfetch = master\n> > \n> > because the whole .git/branches/<branch-name> thing is fairly deprecated, \n> > and cannot handle some things that the .git/config file format can (like \n> > saying where to fetch into, or how to push back etc).\n> \n> I think Andrew convinced us to undeprecate that format, because he wants \n> to be able to configure each branch with one line in a separate file. In \n> any case, remote.c takes care of these things seemlessly.\n> \n\nWell I was kinda attached to the old format but my world wouldn't end\nif it went away.\n\nJudging from the Next/Trees contents, I suspect that Stephen uses the old\nconvenient/compact/one-per-file form too.\n"},{"id":"92556","messageId":"20081007103956.1f7a6cd6.akpm@linux-foundation.org","threadId":"15775","inReplyTo":"48EA4B22.2050900@thebarn.com","subject":"Re: [xfs-masters] git://oss.sgi.com broke","fromName":"Andrew Morton","fromEmail":"akpm@linux-foundation.org","sentAt":"2008-10-07T17:39:56Z","receivedAt":"2008-10-07T17:39:56Z","isPatch":false,"sender":{"key":"akpm@linux-foundation.org","avatar":null},"body":"On Mon, 06 Oct 2008 12:30:10 -0500 Russell Cattelan <cattelan@thebarn.com> wrote:\n\n> Andrew Morton wrote:\n> > y:/usr/src/git26> git --version\n> > git version 1.5.6.rc0\n> >\n> > y:/usr/src/git26> cat .git/branches/git-xfs\n> > git://oss.sgi.com:8090/xfs/xfs-2.6.git#master\n> >\n> > y:/usr/src/git26> git-fetch git-xfs        \n> > remote: usage: git-pack-objects [{ -q | --progress | --all-progress }] \n> > remote:         [--max-pack-size=N] [--local] [--incremental] \n> > remote:         [--window=N] [-remote: -window-memory=N] [--depth=N] \n> > remote:         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset] \n> > remote:         [--threads=N] [--non-empty] [--reremote: vs [--unpacked | --all]*] [--reflog] \n> > remote:         [--stdout | base-name] [--keep-unreachable] [<ref-list | <object-list]\n> > remote: aborting due to possible repository corruption on the remote side.\n> > fatal: protocol error: bad pack header\n> >\n> > It was OK yesterday.\n> >\n> > (cc'ing the git list in case this is an faq?)\n> >\n> > The last two error messages there look wrong/misleading?\n> >\n> >   \n> Ok not sure exactly what was wrong but it looks like there was some \n> confusion\n> with older git bits still install on oss.\n> \n> I manually cleaned everything from the system and reinstalled git from a \n> fresh \"make rpm\" rpm.\n> \n> Please try your pull again and see if the problem is resolved.\n> \n\nIt seems OK now, thanks.\n"}]}