forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
64-bit.
$ git --version --build-options
git version 2.24.1.windows.2
cpu: x86_64
built from commit: 992f0773022527b1b0cb1e0c13aec97dd5248053
sizeof-long: 4
sizeof-size_t: 8
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.16299.1508]
(c) 2017 Microsoft Corporation. All rights reserved.
- What options did you set as part of the installation? Or did you choose the
defaults?
>type "C:\Program Files\Git\etc\install-options.txt"
Editor Option: VisualStudioCode
Custom Editor Path:
Path Option: CmdTools
Plink Path: C:\Program Files\PuTTY\plink.exe
SSH Option: Plink
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Enable Builtin Interactive Add: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
This error only occurs with the "git status" command and only for one of my repositories. It is a 6.1GB (not a typo) repo.
NOTE: cygwin's git v2.17.0 successfully returns "git status" results. E.g.
cygwin$ git --version
git version 2.17.0
cygwin$ git status
On branch mybranch
Your branch is ahead of 'origin/mybranch' by 2 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: gui.js
modified: sidebar.js
Untracked files:
(use "git add <file>..." to include in what will be committed)
testing/
no changes added to commit (use "git add" and/or "git commit -a")
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
I have run git from Bash, CMD, PowerShell, Git bash, and from within VSCode. All behave the same way.
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
PS D:\myrepo> & 'C:\Program Files\Git\mingw64\bin\git.exe' status
Refresh index: 11% (1065/9674)
fatal: mmap: could not determine filesize
- What did you expect to occur after running these commands?
The output from "git status".
- What actually happened instead?
The following error is displayed:
fatal: mmap: could not determine filesize
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
I'm afraid it's company confidential.
Metadata
Metadata
Assignees
Labels
No labels