From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65241: 30.0.50; Cannot clone NonGNU ELPA Date: Wed, 06 Sep 2023 11:32:50 -0400 Message-ID: References: <87pm3sn6ih.fsf@inventati.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36149"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Manuel Uberti , 65241@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 17:35:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qduYr-00098T-Oe for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 17:35:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qduYZ-0000po-OB; Wed, 06 Sep 2023 11:35:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qduYY-0000pg-1C for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 11:35:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qduYX-00087M-Nr for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 11:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qduYX-0005BH-SM for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 11:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65241 X-GNU-PR-Package: emacs Original-Received: via spool by 65241-submit@debbugs.gnu.org id=B65241.169401444419842 (code B ref 65241); Wed, 06 Sep 2023 15:35:01 +0000 Original-Received: (at 65241) by debbugs.gnu.org; 6 Sep 2023 15:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:37154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qduXb-00059y-Pj for submit@debbugs.gnu.org; Wed, 06 Sep 2023 11:34:04 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qduXX-00059P-AH for 65241@debbugs.gnu.org; Wed, 06 Sep 2023 11:34:03 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5BA298044C; Wed, 6 Sep 2023 11:33:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1694014430; bh=kVFUNG9Cr5jrwB5vrEMTRWuX9d43P5QAPOF6yA7JTtY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fNLqVegmq+L1Y+ja7xSbPlBgl9l2ZZJI4aBMyk9Ckw5wo11TFUBsL4txgzH79KSdW 1sE3hhP3+eiLNC9mnCmgvIR8d+YiOqrAjWxocok1I+jLzUW1uTu1ITDkfqSBxm0rr7 svsMhQer6dwbHGvnRfypX4TGzohNdKWG5gM7opSNNNktCgpt3B5lYEw7Pxge9h2AoZ Gvce7ZrchHcChOxAZ4AVR7H8UuiOGAYAdit8jNQo+3kWFCm2tQnK/29q3Pa+TttPG4 YsXt3q8PKRK4t/i+q34vVwdmjpoMowQjLQY48Qpgn2VmOMYBXt+/V5KV0dz9OIRhP3 JTrWSJTc7ovHQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D506F802BB; Wed, 6 Sep 2023 11:33:50 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C326F1201E6; Wed, 6 Sep 2023 11:33:50 -0400 (EDT) In-Reply-To: (Stefan Kangas's message of "Wed, 6 Sep 2023 05:03:03 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269552 Archived-At: > I get an error using the most recent Git version from Homebrew on macOS: > > $ git --version > git version 2.42.0 > $ git -c 'Transfer.fsckObjects=true' clone > https://github.com/defunkt/coffee-mode > Cloning into 'coffee-mode'... > remote: Enumerating objects: 1847, done. > error: object 2699d230e3b592ae42506d7b5c969a7ac6a4593c: > zeroPaddedFilemode: contains zero-padded file modes > fatal: fsck error in packed object > fatal: fetch-pack: invalid index-pack output > $ Duh! I now see that it's because I have [fetch "fsck"] zeroPaddedFilemode = warn in my `~/.gitconfig` (added by gremlins, presumably). As for rewriting coffee-mode's history to avoid the problem: you need to convince coffee-mode's upstream to do that first. [ And you might want to check if coffee-mode is really the only branch that bumps into this problem. ] Stefan PS: Now that I think about it, maybe there's another way, which is to use a *shallow* branch so the old offending commit is not stored in `nongnu.git`. It would hide all the coffee-mode history starting with (and including) 20-May-2010 commit 2a59ce05bd, i.e. most of Chris Wanstrath's contributions :-( It would also take some help from a Savannah admin, but other than that it seems like it would do the trick: basically just add a file `.../nongnu.git/shallow` with a single line that says `b1c16e50e93c662a12c49ac8f18b607656238361`.