{"thread":{"id":"14536","subject":"\"error: non-monotonic index\" during fresh linux-2.6.git cloning.","startedAt":"2008-07-19T17:47:43Z","lastAt":"2008-07-20T07:21:05Z","messageCount":10,"participants":["Evgeniy Polyakov","Junio C Hamano","Petr Baudis"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"83955","messageId":"20080719174742.GA4253@2ka.mipt.ru","threadId":"14536","inReplyTo":null,"subject":"\"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Evgeniy Polyakov","fromEmail":"johnpol@2ka.mipt.ru","sentAt":"2008-07-19T17:47:43Z","receivedAt":"2008-07-19T17:47:43Z","isPatch":false,"sender":{"key":"johnpol@2ka.mipt.ru","avatar":null},"body":"Hi.\n\nI'm getting above error each time I'm tying to clone current 2.6 tree.\nArchives tell that it happens when local index is currupted, but I do\nnot have local tree, it is a fresh clone in an empty dir.\n\n$ git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\nGetting alternates list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\nGetting pack list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\nGetting index for pack 81cec7c6b26c755e466a79de8dbe1c7b827a48d6\nerror: non-monotonic index\n/usr/bin/git-clone: line 33:  2025 Segmentation fault git-http-fetch -v -a -w \"$tname\" \"$name\" \"$1/\"\n\n$ git --version\ngit version 1.4.4.4\n\nFresh 32bit Debian testing.\n\nIt worked before (at least several months ago) and works with 1.5.2.5.\n\n-- \n\tEvgeniy Polyakov\n"},{"id":"83957","messageId":"7vfxq521ab.fsf@gitster.siamese.dyndns.org","threadId":"14536","inReplyTo":"20080719174742.GA4253@2ka.mipt.ru","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-07-19T18:10:04Z","receivedAt":"2008-07-19T18:10:04Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Evgeniy Polyakov <johnpol@2ka.mipt.ru> writes:\n\n> $ git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\n> Getting alternates list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Getting pack list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n> Getting index for pack 81cec7c6b26c755e466a79de8dbe1c7b827a48d6\n> error: non-monotonic index\n> /usr/bin/git-clone: line 33:  2025 Segmentation fault git-http-fetch -v -a -w \"$tname\" \"$name\" \"$1/\"\n>\n> $ git --version\n> git version 1.4.4.4\n\nThe repository you are cloning uses pack idx version #2; 1.4.4.4 predates it\nby a wide margin.\n"},{"id":"83958","messageId":"7v8wvx211n.fsf@gitster.siamese.dyndns.org","threadId":"14536","inReplyTo":"7vfxq521ab.fsf@gitster.siamese.dyndns.org","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-07-19T18:15:16Z","receivedAt":"2008-07-19T18:15:16Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> Evgeniy Polyakov <johnpol@2ka.mipt.ru> writes:\n>\n>> $ git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git\n>> Getting alternates list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>> Getting pack list for http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/\n>> Getting index for pack 81cec7c6b26c755e466a79de8dbe1c7b827a48d6\n>> error: non-monotonic index\n>> /usr/bin/git-clone: line 33:  2025 Segmentation fault git-http-fetch -v -a -w \"$tname\" \"$name\" \"$1/\"\n>>\n>> $ git --version\n>> git version 1.4.4.4\n>>\n>> Fresh 32bit Debian testing.\n>\n> The repository you are cloning uses pack idx version #2; 1.4.4.4 predates it\n> by a wide margin.\n\nBy the way, Debian folks are very aware of the issue and already has a\nbackported material to cut a 1.4.4.5, but I do not know what the release\nschedule for their update is.\n\nIs it an option for you to update to a more modern version from say\nbackports.org?  Everybody using git for anything serious should be using\n1.5.3 or newer these days.\n"},{"id":"83960","messageId":"20080719182014.GD32184@machine.or.cz","threadId":"14536","inReplyTo":"20080719174742.GA4253@2ka.mipt.ru","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2008-07-19T18:20:14Z","receivedAt":"2008-07-19T18:20:14Z","isPatch":false,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"On Sat, Jul 19, 2008 at 09:47:43PM +0400, Evgeniy Polyakov wrote:\n> $ git --version\n> git version 1.4.4.4\n> \n> Fresh 32bit Debian testing.\n\nAre you sure?  http://packages.debian.org/testing/git-core says\n\n\tPackage: git-core (1:1.5.6.2-1)\n\nYour sounds more like the Debian stable version.\n\n\t\t\t\tPetr \"Pasky\" Baudis\n"},{"id":"83966","messageId":"20080719195909.GA5093@2ka.mipt.ru","threadId":"14536","inReplyTo":"7v8wvx211n.fsf@gitster.siamese.dyndns.org","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Evgeniy Polyakov","fromEmail":"johnpol@2ka.mipt.ru","sentAt":"2008-07-19T19:59:09Z","receivedAt":"2008-07-19T19:59:09Z","isPatch":false,"sender":{"key":"johnpol@2ka.mipt.ru","avatar":null},"body":"Hi Junio.\n\nOn Sat, Jul 19, 2008 at 11:15:16AM -0700, Junio C Hamano (gitster@pobox.com) wrote:\n> > The repository you are cloning uses pack idx version #2; 1.4.4.4 predates it\n> > by a wide margin.\n> \n> By the way, Debian folks are very aware of the issue and already has a\n> backported material to cut a 1.4.4.5, but I do not know what the release\n> schedule for their update is.\n> \n> Is it an option for you to update to a more modern version from say\n> backports.org?  Everybody using git for anything serious should be using\n> 1.5.3 or newer these days.\n\nIt is very development test machine, there is no need to use git at all,\nit is just a convenient way to get a needed version via 'git clone; git reset'.\n\nI posted it so it would be stored in archive, that old enough git\nversion does not work with recent trees, so one should upgrade if this\nerror occures.\n\n-- \n\tEvgeniy Polyakov\n"},{"id":"83968","messageId":"20080719200609.GB5093@2ka.mipt.ru","threadId":"14536","inReplyTo":"20080719182014.GD32184@machine.or.cz","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Evgeniy Polyakov","fromEmail":"johnpol@2ka.mipt.ru","sentAt":"2008-07-19T20:06:09Z","receivedAt":"2008-07-19T20:06:09Z","isPatch":false,"sender":{"key":"johnpol@2ka.mipt.ru","avatar":null},"body":"Hi Petr.\n\nOn Sat, Jul 19, 2008 at 08:20:14PM +0200, Petr Baudis (pasky@suse.cz) wrote:\n> On Sat, Jul 19, 2008 at 09:47:43PM +0400, Evgeniy Polyakov wrote:\n> > $ git --version\n> > git version 1.4.4.4\n> > \n> > Fresh 32bit Debian testing.\n> \n> Are you sure?  http://packages.debian.org/testing/git-core says\n> \n> \tPackage: git-core (1:1.5.6.2-1)\n> \n> Your sounds more like the Debian stable version.\n\nIt is that version indeed:\napt-cache show git-core\n...\n Version: 1:1.5.6.2-1\n...\n\nbut it was imported there quite recently, so 'apt-get upgrade' will not\ncatch up with major version change. 1.5 works ok, I pointed to this\nissue, so that resolution for the problem (i.e. upgrade to the more\nrecent version) could be found in archive.\n\n-- \n\tEvgeniy Polyakov\n"},{"id":"83973","messageId":"7v8wvxzg97.fsf@gitster.siamese.dyndns.org","threadId":"14536","inReplyTo":"20080719195909.GA5093@2ka.mipt.ru","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-07-19T22:00:20Z","receivedAt":"2008-07-19T22:00:20Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Evgeniy Polyakov <johnpol@2ka.mipt.ru> writes:\n\n> I posted it so it would be stored in archive, that old enough git\n> version does not work with recent trees, so one should upgrade if this\n> error occures.\n\nThanks, but you are about 5 days too late ;-)\n\n    http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=88402\n"},{"id":"84000","messageId":"20080720064137.GA9654@2ka.mipt.ru","threadId":"14536","inReplyTo":"7v8wvxzg97.fsf@gitster.siamese.dyndns.org","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Evgeniy Polyakov","fromEmail":"johnpol@2ka.mipt.ru","sentAt":"2008-07-20T06:41:38Z","receivedAt":"2008-07-20T06:41:38Z","isPatch":false,"sender":{"key":"johnpol@2ka.mipt.ru","avatar":null},"body":"On Sat, Jul 19, 2008 at 03:00:20PM -0700, Junio C Hamano (gitster@pobox.com) wrote:\n> > I posted it so it would be stored in archive, that old enough git\n> > version does not work with recent trees, so one should upgrade if this\n> > error occures.\n> \n> Thanks, but you are about 5 days too late ;-)\n> \n>     http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=88402\n\nBetter late than never :)\n\n-- \n\tEvgeniy Polyakov\n"},{"id":"84001","messageId":"7vprp9f3ne.fsf@gitster.siamese.dyndns.org","threadId":"14536","inReplyTo":"20080720064137.GA9654@2ka.mipt.ru","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-07-20T06:52:53Z","receivedAt":"2008-07-20T06:52:53Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Evgeniy Polyakov <johnpol@2ka.mipt.ru> writes:\n\n> On Sat, Jul 19, 2008 at 03:00:20PM -0700, Junio C Hamano (gitster@pobox.com) wrote:\n>> > I posted it so it would be stored in archive, that old enough git\n>> > version does not work with recent trees, so one should upgrade if this\n>> > error occures.\n>> \n>> Thanks, but you are about 5 days too late ;-)\n>> \n>>     http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=88402\n>\n> Better late than never :)\n\nYou should have said \"better redundant than never\", though ;-)\n"},{"id":"84003","messageId":"20080720072105.GA3918@2ka.mipt.ru","threadId":"14536","inReplyTo":"7vprp9f3ne.fsf@gitster.siamese.dyndns.org","subject":"Re: \"error: non-monotonic index\" during fresh linux-2.6.git cloning.","fromName":"Evgeniy Polyakov","fromEmail":"johnpol@2ka.mipt.ru","sentAt":"2008-07-20T07:21:05Z","receivedAt":"2008-07-20T07:21:05Z","isPatch":false,"sender":{"key":"johnpol@2ka.mipt.ru","avatar":null},"body":"On Sat, Jul 19, 2008 at 11:52:53PM -0700, Junio C Hamano (gitster@pobox.com) wrote:\n> >>     http://thread.gmane.org/gmane.comp.version-control.git/76650/focus=88402\n> >\n> > Better late than never :)\n> \n> You should have said \"better redundant than never\", though ;-)\n\nIndeed, although there were no mention that error occurs with clone, so\nI would find it :)\n\n-- \n\tEvgeniy Polyakov\n"}]}