forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
This is not an urgent issue, since ARM64 Windows is only in the testing phase right now, and no official builds have been published yet.
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
ARM64 Windows test build: https://github.com/dscho/git/actions/runs/597692856
$ git --version --build-options
git version 2.30.1.GIT
cpu: AMD64
no commit associated with this build
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Windows 10 ARM64
Microsoft Windows [Version 10.0.19042.804]
- What options did you set as part of the installation? Or did you choose the
defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: VisualStudioCode
Custom Editor Path:
Default Branch Option: main
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Core
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
ARM64 😉
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Git Bash
- 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.
denni@DESKTOP-8HTP3NV ARM64 /c/repos
$ git config --list
denni@DESKTOP-8HTP3NV ARM64 /c/repos
$ git config --system http.sslbackend schannel
error: could not lock config file C:/Program Files (x86)/Git/arm64/etc/gitconfig: No such file or directory
- What did you expect to occur after running these commands?
git config --list
should show the Git configuration.
- What actually happened instead?
git config --list
doesn't return anything. However, after I copied /etc/gitconfig
to /arm64/etc/gitconfig
, git config --list
started showing the correct output:
denni@DESKTOP-8HTP3NV ARM64 /c/repos
$ git config --list
pack.packsizelimit=2g
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files (x86)/Git/mingw32/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=true
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=main
... so the ARM64 Git for Windows (Bash at least) looks for gitconfig
in the wrong folder.
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
N/A