Re: non-monotonic index when using http://?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 21, 2006, 10:08 UTC
- Message-ID
- <7v1wrawgco.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060821095419.GK30022@admingilde.org>
Martin Waitz <tali@admingilde.org> writes:
> For some reason, I have a > .git/objects/pack/pack-793a9e93286d6c656941977d2e5b49e28566edcd.idx > without the corresponding .pack file.
It is worrysome why. In the meantime you could remove it (if it were a .pack file without .idx then you may want to try feeding it to unpack-objects but .idx without corresponding .pack is pretty much useless).
> At least, it should not SEGV later...
Absolutely. The particular code in http-fetch (your gdb session tells us exactly where) seems quite loosely written, and there may be other places that do not check return values.