Skip to content

Seeing "BUG: refs.c:2083: reference backend is unknown" when attempting to clone #4843

@exoosh

Description

@exoosh
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? -> Its 64-bit
$ git --version --build-options
git version 2.44.0.windows.1
cpu: x86_64
built from commit: ad0bbfffa543db6979717be96df630d3e5741331
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
  • Windows 10 Pro, to be more precise 10.0.19045 Build 19045 (aka 22H2)
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.19045.4046]
(c) Microsoft Corporation. All rights reserved.
  • What options did you set as part of the installation? Or did you choose the
    defaults?
$ cat /etc/install-options.txt
Editor Option: VIM
Custom Editor Path:
Default Branch Option: main
Path Option: Cmd
Plink Path: C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe
SSH Option: Plink
Tortoise Option: true
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Enabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

None that I am aware of

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

Bash within Windows Terminal

$ git -C test_helper clone https://github.com/bats-core/bats-core.git
Cloning into 'bats-core'...
BUG: refs.c:2083: reference backend is unknown
  • What did you expect to occur after running these commands?

I expected the clone to commence and succeed (the directory test_helper existed!).

  • What actually happened instead?

It aborted with the message:

BUG: refs.c:2083: reference backend is unknown
  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

https://github.com/bats-core/bats-core.git

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions