Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2023 19:38:53 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        git@freebsd.org
Subject:   Re: fatal: unable to read <hash>
Message-ID:  <CANCZdfrZECPrUqk5VLNifRTdo3mr=_SxjTOvGBUAJcTHgPugaQ@mail.gmail.com>
In-Reply-To: <orqq0n25-14pq-nn97-o85p-1p6r107s20ns@yvfgf.mnoonqbm.arg>
References:  <orqq0n25-14pq-nn97-o85p-1p6r107s20ns@yvfgf.mnoonqbm.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b2eaf0060159e9f5
Content-Type: text/plain; charset="UTF-8"

Have you tried cloning the repo?

On Tue, Jul 25, 2023, 6:22 PM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
wrote:

> Hi,
>
> on one of my trees I am getting:
>
> --- 8< 8< 8< -----------------------------------------------------------
> % git fetch freebsd
> Auto packing the repository in background for optimum performance.
> See "git help gc" for manual housekeeping.
> warning: The last gc run reported the following. Please correct the root
> cause
> and remove .git/gc.log
> Automatic cleanup will not be performed until the file is removed.
>
> fatal: unable to read b9cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7
> fatal: failed to run repack
> --- 8< 8< 8< -----------------------------------------------------------
>
> I am not concerned about the background gc but the fatal error about the
> hash displayed.
>
> I have no clue how to solve this, nor do I know what object that hash
> is/was.
>
> Does anyone know how to "repair" this wihtout having to blow away the
> local copy with all its development branches (which would be rather
> painful)?
>
> /bz
>
> --
> Bjoern A. Zeeb                                                     r15:7
>
>

--000000000000b2eaf0060159e9f5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Have you tried cloning the repo?</div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jul 25, 2023, 6:2=
2 PM Bjoern A. Zeeb &lt;<a href=3D"mailto:bzeeb-lists@lists.zabbadoz.net">b=
zeeb-lists@lists.zabbadoz.net</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">Hi,<br>
<br>
on one of my trees I am getting:<br>
<br>
--- 8&lt; 8&lt; 8&lt; -----------------------------------------------------=
------<br>
% git fetch freebsd<br>
Auto packing the repository in background for optimum performance.<br>
See &quot;git help gc&quot; for manual housekeeping.<br>
warning: The last gc run reported the following. Please correct the root ca=
use<br>
and remove .git/gc.log<br>
Automatic cleanup will not be performed until the file is removed.<br>
<br>
fatal: unable to read b9cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7<br>
fatal: failed to run repack<br>
--- 8&lt; 8&lt; 8&lt; -----------------------------------------------------=
------<br>
<br>
I am not concerned about the background gc but the fatal error about the<br=
>
hash displayed.<br>
<br>
I have no clue how to solve this, nor do I know what object that hash<br>
is/was.<br>
<br>
Does anyone know how to &quot;repair&quot; this wihtout having to blow away=
 the<br>
local copy with all its development branches (which would be rather<br>
painful)?<br>
<br>
/bz<br>
<br>
-- <br>
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7<br>
<br>
</blockquote></div>

--000000000000b2eaf0060159e9f5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrZECPrUqk5VLNifRTdo3mr=_SxjTOvGBUAJcTHgPugaQ>