From nobody Mon Aug 07 05:26:25 2023 X-Original-To: git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RK4Yp6Kfjz4Tp8Y for ; Mon, 7 Aug 2023 05:26:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RK4Yp4Q74z4Rpy for ; Mon, 7 Aug 2023 05:26:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5221c6a2d3dso5705816a12.3 for ; Sun, 06 Aug 2023 22:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1691385996; x=1691990796; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FBCRnva9VJ/nYN2NHTuo0NST7X1Uy+WpbfHsqM/c5aI=; b=vJ7Y8ZKo9Te4P+pSl50Ck1K8lut9glB3V/k7hbOzWaTmyBUioKHGWS+1Jcs/lu773P hu93rEFKPHh08D/QtlCMGAlEDj0gkBBWEK1vWkkMgpVAFS9Ljqoub1f25oPwqnznW3Gf yiNwYS7ExUUi1eJPZHlvZIJ/oqSZEbFveeH6EZsSPwf09+QbTeyM6t8mQSsadh3DQNp4 jYUOowUP3+ey85LRdnYPMrRG81WvM9xlUXMppsR1QInXf+29uN246SzQf4IFNy/+CtD3 cRprDV4NcOejJs4njwcau9vl65LxTmD4i7MhYlMmS7KLRUUGRwOT8GQVFWi9bz2rRMAc WLjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691385996; x=1691990796; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FBCRnva9VJ/nYN2NHTuo0NST7X1Uy+WpbfHsqM/c5aI=; b=SjprQMru9q3kyMQWYMLIFgWsO9bd0PaNvw+bOpd0WVip65NKr2McGJNQnFq8ztB4tH vW+B6sT76YPGgRM7zqYrgTJWWu3NUReuKTfWxhnA2Red2/atKf10feZw7tns6kb5aGMk LYucosGGr+cDW2g0yNrALT25UXVTQWGcq0YHMOuk1LoCvg656TFcpqtuIMJ/rd2EDD0e XFISkAchl6En5nPY0uZH2uOMsgmqKcWeFEjzy2OukMVUtPMn6WWEHBJRGEgEVm9i7jz2 SVi2BD7Iojw+iX6lMbL2q/gCbAhO916zKzS4FM28UgoO9sxpzzOk7kr/j79Mj9WJp0ZB 866A== X-Gm-Message-State: AOJu0YyHGqzNMEinnyqpP70DcqCtCKRWoQmwecHmcdlMIK9aNtK3irxg PVhqmUJpwxiqGK1NXT0hqEFsTrSujafXPDJVh3vecQ== X-Google-Smtp-Source: AGHT+IEoO+zourl+FbTNy6HndqcvpFbA5BDReGEIYmXKvyCvTAo01gBtv9v3PoASae2LjBcb0e5bxrNi48AVe0lWgeg= X-Received: by 2002:a05:6402:613:b0:523:33e5:2d79 with SMTP id n19-20020a056402061300b0052333e52d79mr3117237edv.30.1691385996430; Sun, 06 Aug 2023 22:26:36 -0700 (PDT) List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 References: <80c39b3e-9013-22c0-286d-a0ccd05dc21a@gmail.com> <22663d4f-df74-e343-c182-64705ec59f5b@gmail.com> In-Reply-To: From: Warner Losh Date: Sun, 6 Aug 2023 23:26:25 -0600 Message-ID: Subject: Re: fatal: unable to read To: "Bjoern A. Zeeb" Cc: Marc Branchaud , git@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007ee3b206024e7dac" X-Rspamd-Queue-Id: 4RK4Yp4Q74z4Rpy X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --0000000000007ee3b206024e7dac Content-Type: text/plain; charset="UTF-8" On Sun, Aug 6, 2023, 11:24 PM Bjoern A. Zeeb wrote: > On Mon, 31 Jul 2023, Marc Branchaud wrote: > > > > > On 2023-07-30 21:21, Bjoern A. Zeeb wrote: > >> > >> freebsd-src% find . \! -user bz > >> freebsd-src% ls -l > .git/objects/b9/cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7 > >> ls: .git/objects/b9/cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7: No such > file or > >> directory > > > > So it seems like the cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7 object is > really > > missing and not just inaccessible. (Note that Git also stores objects > in > > .pack files -- see "git help pack-objects" -- but I'm figuring those > files > > are also accessible.) > > > > To try to figure out what is referring to object > > cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7, try running > > git fsck --name-objects --connectivity-only --no-dangling > > % git fsck --name-objects --connectivity-only --no-dangling > error: b9cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7: invalid sha1 pointer in > resolve-undo of .git/worktrees/bz_maxmodname_D32383/index > Checking connectivity: 4743571, done. > Verifying commits in commit graph: 100% (384308/384308), done. > > The good news upfront; I could ditch that worktree and branch if that > will fix things. It has follow-up work to the 2021 things but I have > a copy of that outside that git tree (I love patch files in port trees :) > I tend to push wip branches to both github and gitlab to help guard against local failure. Warner /bz > > -- > Bjoern A. Zeeb r15:7 > > --0000000000007ee3b206024e7dac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Aug 6, 2023, 11:24 PM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net= > wrote:
On Mon, 31 Jul 2023= , Marc Branchaud wrote:

>
> On 2023-07-30 21:21, Bjoern A. Zeeb wrote:
>>
>> freebsd-src% find . \! -user bz
>> freebsd-src% ls -l .git/objects/b9/cdc058e6eb1b3d8b5e29ad9b911d3da= 98f65a7
>> ls: .git/objects/b9/cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7: No suc= h file or
>> directory
>
> So it seems like the cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7 object is = really
> missing and not just inaccessible.=C2=A0 (Note that Git also stores ob= jects in
> .pack files -- see "git help pack-objects" -- but I'm fi= guring those files
> are also accessible.)
>
> To try to figure out what is referring to object
> cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7, try running
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git fsck --name-objects --connectivity-only = --no-dangling

%=C2=A0 git fsck --name-objects --connectivity-only --no-dangling
error: b9cdc058e6eb1b3d8b5e29ad9b911d3da98f65a7: invalid sha1 pointer in re= solve-undo of .git/worktrees/bz_maxmodname_D32383/index
Checking connectivity: 4743571, done.
Verifying commits in commit graph: 100% (384308/384308), done.

The good news upfront;=C2=A0 I could ditch that worktree and branch if that=
will fix things.=C2=A0 It has follow-up work to the 2021 things but I have<= br> a copy of that outside that git tree (I love patch files in port trees :)

I = tend to push wip branches to both github and gitlab to help guard against l= ocal failure.=C2=A0

Warn= er=C2=A0

/bz

--
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

--0000000000007ee3b206024e7dac--