Open hkjels opened 2 years ago
Running the command with --depth 1
worked and seemingly doesn't break anything. If it in fact doesn't break anything, a shallow clone should probably be the default. Not sure how this mirror is used internally, so I might be totally wrong.
Thank you for the detailed report. Unfortunately, this is not our repository. This is GNU's repository and the issue has been reported in the past:
https://lists.gnu.org/r/emacs-devel/2020-05/msg02856.html
The advice from that thread essentially boils down to:
Known problem: just disable fsck for the initial fetch.
I'll see if I can add that as a workaround when we clone the repository. Adding a :depth
of 1 is a workaround, but not a complete solution because the user may need more git history to unfreeze their packages.
Related issue: #981
What's wrong
It's no longer possible to clone https://git.savannah.gnu.org/git/emacs/nongnu.git due to a zero-padded file mode in the object
2699d230e3b592ae42506d7b5c969a7ac6a4593c
. I believe this is astraight.el
specific mirror and thus the reason I'm posting here (might be wrong 🥸).Error from
*straight-process*
Directions to reproduce
Running
git clone https://git.savannah.gnu.org/git/emacs/nongnu.git ./nongnu-elpa
will failVersion information