emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure trying to clone Elpa


From: N. Jackson
Subject: Re: Failure trying to clone Elpa
Date: Sun, 29 Jul 2018 17:03:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Thanks Noam,

At 13:31 -0400 on Sunday 2018-07-29, Noam Postavsky wrote:
>
> It's a known problem in the Elpa repository, if you have enabled
> transfer.fsckObjects in your git config, then you have to disable it
> to clone.
>
> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22690

I was going to say that I have no git configuration but it turns
out that I do. In addition to my name I have:

  [transfer]
          fsckObjects = true
  [fetch]
          fsckObjects = true
  [receive]
          fsckObjects = true

I read the bug report and the man page for `git clone' and then
cast around more generally in the git documentation but after an
hour or so I failed to find a way to turn off individual options
on the git command line and I failed to find a way to tell git to
ignore configuration files.

In the end, I went with the crude:

$ mv ~/.gitconfig ~/.gitconfig.no; \
  git clone git://git.sv.gnu.org/emacs/elpa; \
  mv ~/.gitconfig.no ~/.gitconfig

In any case, I think that https://savannah.gnu.org/projects/emacs
should say that the emacs/elpa repository is corrupt and will fail
`git-fsck' near where it gives the command to clone the repository.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]