git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Martin Waitz
Message 4 of 4 in “non-monotonic index when using http://?”
  1. Martin WaitzAug 21, 2006
  2. Junio C HamanoAug 21, 2006
  3. Martin WaitzAug 21, 2006
  4. Junio C HamanoAug 21, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.