Closed exoosh closed 5 months ago
It should be noted that this works with the 2.43.0.windows.1
version of Git for Windows! I just downgraded back to it.
Z:\temp$ git -C test_helper clone https://github.com/bats-core/bats-core.git
Cloning into 'bats-core'...
remote: Enumerating objects: 9764, done.
remote: Counting objects: 100% (2750/2750), done.
remote: Compressing objects: 100% (321/321), done.
remote: Total 9764 (delta 2561), reused 2535 (delta 2415), pack-reused 7014
Receiving objects: 100% (9764/9764), 2.34 MiB | 7.23 MiB/s, done.
Resolving deltas: 100% (6024/6024), done.
Z:\temp$ git --version
git version 2.43.0.windows.1
This is definitely not limited to Git for Windows. I am seeing the exact same thing on Manjaro:
$ git clone https://github.com/kee-org/keepassrpc.git
Cloning into 'keepassrpc'...
BUG: refs.c:2083: reference backend is unknown
error: git-remote-https died of signal 6
$ git --version
git version 2.44.0
@dscho Clearly someone created an issue in version 2.44.0 of Git and it also appears in Git for Windows.
NB: cloning with SSH works. And repo seems to be irrelevant, as long as HTTPS is used:
$ git clone https://github.com/git/git.git
Cloning into 'git'...
BUG: refs.c:2083: reference backend is unknown
error: git-remote-https died of signal 6
@assarbad would you be so kind as to provide a backport PR?
@assarbad would you be so kind as to provide a backport PR?
Will do (same person, company account)
/add relnote bug A regression where git clone
no longer worked in the presence of includeIf.*.onbranch
config settings has been fixed.
The workflow run was started
Setup
Which version of Git for Windows are you using? -> Its 64-bit
Windows 10 Pro, to be more precise 10.0.19045 Build 19045 (aka 22H2)
What options did you set as part of the installation? Or did you choose the defaults?
None that I am aware of
Details
Bash within Windows Terminal
I expected the clone to commence and succeed (the directory
test_helper
existed!).It aborted with the message:
https://github.com/bats-core/bats-core.git