forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
bugcase-insensitive-fsBug related to case-insensitive file systemsBug related to case-insensitive file systemsgit-upstream
Milestone
Description
Existing issues matching what you're seeing
- I was not able to find an open or closed issue matching what I'm seeing
Git for Windows version
git version 2.51.0.windows.1
cpu: x86_64
built from commit: 4d21a77b98af5cf479d8b6f863c2aa94257cd4e1
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
feature: fsmonitor--daemon
libcurl: 8.15.0
OpenSSL: OpenSSL 3.2.4 11 Feb 2025
zlib: 1.3.1
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
default-ref-format: files
default-hash: sha1
Windows version
Windows 11
Windows CPU architecture
x86_64 (64-bit)
Additional Windows version information
Microsoft Windows [Version 10.0.26100.4946]
Options set during installation
using the portable version of git but it can be reproed in any manner
Other interesting things
None
Terminal/shell
git-cmd.exe
Commands that trigger the issue
git init
git remote add origin https://github.com/microsoft/azure-pipelines-tasks.git
git fetch
// Does not repros with packaed-refs in the repo hence initialize a new repo.
Expected behaviour
Git fetch should succeed without any errors. It succeeded with v2.50.1
Actual behaviour
Get error as below
* [new branch] users/zqian/update-npmversion -> origin/users/zqian/update-npmversion
* [new branch] users/zqian/upgrade-helm3.7 -> origin/users/zqian/upgrade-helm3.7
error: cannot lock ref 'refs/remotes/origin/users/ajya/sqlservermoduleimportM146': Unable to create 'C:/Repos/taskstest1/.git/refs/remotes/origin/users/ajya/sqlservermoduleimportM146.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
C:\Repos\taskstest1>git --version
git version 2.51.0.windows.1
Repository
Multiple repoes, Example provided above
https://github.com/microsoft/azure-pipelines-tasks.git
Metadata
Metadata
Assignees
Labels
bugcase-insensitive-fsBug related to case-insensitive file systemsBug related to case-insensitive file systemsgit-upstream