From nobody Mon Aug 07 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