From nobody Mon Aug 7 05:18:38 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 4RK4Vd1xkXz4TnxP for ; Mon, 7 Aug 2023 05:23:53 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RK4VZ6zv6z4S50 for ; Mon, 7 Aug 2023 05:23:50 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id A24E58D4A178; Mon, 7 Aug 2023 05:23:41 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id ACC465C3A82F; Mon, 7 Aug 2023 05:23:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id EktgtPmNPzxO; Mon, 7 Aug 2023 05:18:39 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 338FD5C3A82E; Mon, 7 Aug 2023 05:18:38 +0000 (UTC) Date: Mon, 7 Aug 2023 05:18:38 +0000 (UTC) From: "Bjoern A. Zeeb" To: Marc Branchaud cc: git@freebsd.org Subject: Re: fatal: unable to read In-Reply-To: <22663d4f-df74-e343-c182-64705ec59f5b@gmail.com> Message-ID: References: <80c39b3e-9013-22c0-286d-a0ccd05dc21a@gmail.com> <22663d4f-df74-e343-c182-64705ec59f5b@gmail.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Result: default: False [-0.34 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_MEDIUM(-0.89)[-0.891]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; NEURAL_HAM_SHORT(-0.15)[-0.151]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com]; MLMMJ_DEST(0.00)[git@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RK4VZ6zv6z4S50 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 :) /bz -- Bjoern A. Zeeb r15:7 From nobody Mon Aug 7 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-- From nobody Mon Aug 7 13:17:45 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 4RKH1S3fWsz4pZGP for ; Mon, 7 Aug 2023 13:17:48 +0000 (UTC) (envelope-from marcnarc@gmail.com) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 4RKH1S1Pkbz3g5C for ; Mon, 7 Aug 2023 13:17:48 +0000 (UTC) (envelope-from marcnarc@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-76af2cb7404so322300085a.0 for ; Mon, 07 Aug 2023 06:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691414267; x=1692019067; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ew/DTy4I8Xh+ZfPLf8k3M/+waSWj4WfWzpHiwaWr91c=; b=EW0DenCyyKgRyz9AxlKDY42lGEZIB3inC9EKVKHjisb5fgeE6hWpNvlHalVW22z854 SX0eT/MvZ4AtF1X59uUJOUwiMZ3Ser0pmHJZ/0DvF0K1NEF39Q8ItYAX7oOZKakrX3oa okN65VpRdCuVkZJAonJa7qnJWc9PpAFTM42EtT8K36Mmym/1/yxzhlEPJJ5iSIfT+zBX Wc20+pvLEx0JwJiGFBUZx+cHbycQpo9hdQgw9yjhbFpxMzl8unF6sAPcJqn9fAzMEGx2 RiXSn27dys4/sJsnjGamBiItU8sVAtKGYjsxzvUnMJbaZ9edEurmMPt7UqMrn58TxDRP scPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691414267; x=1692019067; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ew/DTy4I8Xh+ZfPLf8k3M/+waSWj4WfWzpHiwaWr91c=; b=Q8NYPKPbjZyv7P2BT5PD5KQ1PHHujLlhCirvd+SLBR8/yDusiIStWWbSQS0dBV5tJF OHlNYNW7mrtOSIIw/T2nFVihsf72qYLMJrKUa/pcP2VbfTyRQH/B9sGf6TLDAL3cmps4 BReB3WDWTB+HBJLRPMBuBZH7qU6Z+Lklik2RFjv8z0QRlXv5DOOUDImtYwgsu1ObBbyB wgHNTWXGDOcC6zXWHtVQsCz0GnIaG9YGc0fU1YXGjkksHZZ9N07VO8eG8egoEigr96TJ PuZA6j6pMAscR0C6mdbjlcwFDq5t6ViPLzEfDHjkl3310mw0lic2RO6lSFtEGfT5OaUd ddzQ== X-Gm-Message-State: AOJu0YxLcqg98mTUNsLKgZV6yeNo/BHczzf2zdDSBLoMglkmr/gGj5h9 bjNiyPCajgInYOAtFK1ObXk= X-Google-Smtp-Source: AGHT+IHjtZWOBfXkw2pcFg+PCdM686nrYU86QDmGfmliKqJ0gVg0bKmeobt3JnHEqguIeGYIxttxUg== X-Received: by 2002:a05:620a:f0f:b0:767:fbe:f4b with SMTP id v15-20020a05620a0f0f00b007670fbe0f4bmr9805621qkl.72.1691414267275; Mon, 07 Aug 2023 06:17:47 -0700 (PDT) Received: from [192.168.222.18] ([107.159.92.130]) by smtp.gmail.com with ESMTPSA id c5-20020ae9e205000000b00765a9f53af0sm2573017qkc.128.2023.08.07.06.17.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Aug 2023 06:17:46 -0700 (PDT) Message-ID: Date: Mon, 7 Aug 2023 09:17:45 -0400 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: fatal: unable to read Content-Language: en-US To: "Bjoern A. Zeeb" Cc: git@freebsd.org References: <80c39b3e-9013-22c0-286d-a0ccd05dc21a@gmail.com> <22663d4f-df74-e343-c182-64705ec59f5b@gmail.com> From: Marc Branchaud In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4RKH1S1Pkbz3g5C 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:2607:f8b0::/32, country:US] On 2023-08-07 01:18, Bjoern A. Zeeb wrote: > > %  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 :) If you no longer need the bz_maxmodname_D32383 worktree, then it sounds like the easiest solution would be deleting it -- by running git worktree remove bz_maxmodname_D32383 in your "main" repo (which you created with "git clone"). (The bz_maxmodname_D32383 branch seems to be OK, according to fsck.) M. From nobody Wed Aug 9 00:31:53 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 4RLB2q0Z2Mz4Tn7D for ; Wed, 9 Aug 2023 00:37:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RLB2n36c5z3MG3 for ; Wed, 9 Aug 2023 00:37:05 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 2B3E28D4A178; Wed, 9 Aug 2023 00:36:57 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7879C5C3A82F; Wed, 9 Aug 2023 00:36:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id t8cwBM95PqtK; Wed, 9 Aug 2023 00:31:55 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 197C85C3A82E; Wed, 9 Aug 2023 00:31:54 +0000 (UTC) Date: Wed, 9 Aug 2023 00:31:53 +0000 (UTC) From: "Bjoern A. Zeeb" To: Marc Branchaud cc: git@freebsd.org Subject: Re: fatal: unable to read In-Reply-To: Message-ID: References: <80c39b3e-9013-22c0-286d-a0ccd05dc21a@gmail.com> <22663d4f-df74-e343-c182-64705ec59f5b@gmail.com> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: multipart/mixed; boundary="1098556516-1788126082-1691541115=:24776" X-Spamd-Result: default: False [-1.24 / 15.00]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.977]; NEURAL_HAM_SHORT(-0.93)[-0.933]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; NEURAL_HAM_LONG(-0.03)[-0.029]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[git@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4RLB2n36c5z3MG3 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1788126082-1691541115=:24776 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 7 Aug 2023, Marc Branchaud wrote: > > On 2023-08-07 01:18, Bjoern A. Zeeb wrote: >> >> %  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 :) > > If you no longer need the bz_maxmodname_D32383 worktree, then it sounds like > the easiest solution would be deleting it -- by running > git worktree remove bz_maxmodname_D32383 > in your "main" repo (which you created with "git clone"). > > (The bz_maxmodname_D32383 branch seems to be OK, according to fsck.) And how would one gotten rid of the invalid sha1 pointer in that case? I removed the worktree and gc now finishes. % git gc Enumerating objects: 4743571, done. Counting objects: 100% (4743571/4743571), done. Delta compression using up to 40 threads Compressing objects: 100% (913291/913291), done. Writing objects: 100% (4743571/4743571), done. Total 4743571 (delta 3423475), reused 4721415 (delta 3402164), pack-reused 0 Enumerating cruft objects: 38, done. Traversing cruft objects: 84, done. Counting objects: 100% (38/38), done. Delta compression using up to 40 threads Compressing objects: 100% (28/28), done. Writing objects: 100% (38/38), done. Total 38 (delta 10), reused 25 (delta 9), pack-reused 0 Checking connectivity: 4743609, done. Expanding reachable commits in commit graph: 397393, done. Thanks a lot for all the support (also Warner). Much appreciated! /bz -- Bjoern A. Zeeb r15:7 --1098556516-1788126082-1691541115=:24776--