All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Martin Waitz <tali@admingilde.org>
Cc: git@vger.kernel.org
Subject: Re: non-monotonic index when using http://?
Date: Mon, 21 Aug 2006 03:08:55 -0700	[thread overview]
Message-ID: <7v1wrawgco.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060821095419.GK30022@admingilde.org> (Martin Waitz's message of "Mon, 21 Aug 2006 11:54:20 +0200")

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.

      reply	other threads:[~2006-08-21 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21  8:46 non-monotonic index when using http://? Martin Waitz
2006-08-21  9:20 ` Junio C Hamano
2006-08-21  9:54   ` Martin Waitz
2006-08-21 10:08     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v1wrawgco.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=tali@admingilde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.