Closed
Description
After I've updated my Git to v2.48.1.windows.1
, the commands git init
, git gc
and git add
(probably many more, I haven't tried) started failing in repositories that reside on ReFS formatted disks.
This problem was not present in previous release 2.47.1(2)
.
Example:
# edit global.json and try to git add:
> git add ./global.json
error: unable to write file .git/objects/b1/6c1afa0351d335de649b03647d10bdc8a4e023: Function not implemented
error: global.json: failed to insert into database
error: unable to index file 'global.json'
fatal: updating files failed
The same commands still work without problems on NTFS formatted disks. The same commands also work in previous 2.47.1(2)
Git version on the same ReFS disks.
And no, disks are not damaged, I tried same commands on two different SSDs, and two different HDDs.
Additional info
OS version: Windows Server 2022 10.0.20348.3207
Some relevant .gitconfig entries:
[core]
longPaths = true
symlinks = true
fscache = true
commitGraph = true
[rerere]
enabled = true
autoUpdate = true
[fetch]
prune = true
writeCommitGraph = true
[pack]
threads = 1
[gc]
auto = 1
writeCommitGraph = true
[maintenance]
auto = true
Metadata
Metadata
Assignees
Labels
No labels