Re: non-monotonic index when using http://?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: non-monotonic index when using http://?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:37

Martin Waitz [off-list ref] writes:
hoi :)

At work I'm getting the following error message, any ideas?
quoted
git --version
git version 1.4.2.rc4.g242a
quoted
git pull upstream
Fetching refs/heads/master from http://git.kernel.org/pub/scm/git/git.git using http
error: non-monotonic index
walk 43134fcb350fb70d26634be163db1f71c14db19f
walk 55c3eb434ab6d489c632263239be15a1054df7f2
Getting alternates list for http://git.kernel.org/pub/scm/git/git.git/
Getting pack list for http://git.kernel.org/pub/scm/git/git.git/
error: non-monotonic index
The "non monotonic index" check is to make sure pack .idx file
is sane, and it appears that you are getting the error before
you fetch new pack from the server, which means one of your
local packs is bad.

I just cloned from the kernel.org archive over http (I usually
don't, but your report was alarming enough) and the packfile I
have there do not seem to have the problem.

Re: non-monotonic index when using http://?

From: Martin Waitz <hidden>
Date: 2016-06-15 22:42:37

On Mon, Aug 21, 2006 at 02:20:38AM -0700, Junio C Hamano wrote:
The "non monotonic index" check is to make sure pack .idx file
is sane, and it appears that you are getting the error before
you fetch new pack from the server, which means one of your
local packs is bad.
You are right, the local archive is corrupted, it works with
a fresh clone.

For some reason, I have a
.git/objects/pack/pack-793a9e93286d6c656941977d2e5b49e28566edcd.idx
without the corresponding .pack file.

Has anybody seen something like this before?


Should GIT bail out earlier when it sees this non-monotonic-index
corruption?
At least, it should not SEGV later...

-- 
Martin Waitz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help