Subject: Re: [PATCH v2 0/25] prune-safety

From: Junio C Hamano <[email-masked]>
Date: Thu, 16 Oct 2014 14:10:56 -0700

Junio C Hamano <[email-masked]> writes:

> Somewhere in this series the object enumeration seems to get
> broken.  "git clone --no-local" of git.git repository died
> with
>
>     Cloning into 'victim-7'...
>     remote: Counting objects: 173727, done.
>     remote: Compressing objects: 100% (43697/43697), done.
>     remote: Total 173727 (delta 130908), reused 170009 (delta 128151)
>     Receiving objects: 100% (173727/173727), 33.45 MiB | 13.69 MiB/s,
>     done.
>     Resolving deltas: 100% (130908/130908), done.
>     fatal: did not receive expected object a74380c3117994efba501df1707418eb6feb9284
>     fatal: index-pack failed
>
> where a74380c... is such an object.

Ehh, "such" is a nonsense.  It is a blob that directly is pointed by
a tag that is in refs/tags/*.

> If you have a clone of https://github.com/git/git.git
>
> $ git rev-list --parents --objects --all | grep  a74380c3117994
>
> would be an easy way to reproduce.