Open gl-yziquel opened 19 hours ago
Same thing with gix version v0.37.0-430-g03b68c864.
The error occurs here, though I don't know what is triggering it.
Cloning the repository with git clone
and then making a local clone with gix clone
and a file://
URL works. This suggests, though does not establish, that a short hash somewhere a full hash ordinarily appears is resolved in a git
clone (rather than causing an error or being preserved as a short hash) but produces an error in a gix
clone.
Thanks for reporting! Here is what I tried:
gix -c http.proxy=localhost:9090 clone https://git.savannah.nongnu.org/git/emacs/nongnu.git
And here is the server reply:
That's a V1 response, and it seems to just mix in shallow b1c16e50e93c662a12c49ac8f18b607656238361
without any kind of separator. Probably that's the way it's done in V1, and gitoxide
tries to turn shallow
into an object ID.
I will see to adding this as test-case so it can be fixed.
Current behavior 😯
The command "gix clone git://git.savannah.gnu.org/emacs/nongnu.git" fails with
git succeeds.
Expected behavior 🤔
It should work because git works.
Git behavior
git works.
Steps to reproduce 🕹
Clone the git://git.savannah.gnu.org/emacs/nongnu.git repository with gix and see it fail.
gix version v0.37.0-229-gc3f173c94