Skip to content

System git config file is not evaluated #10914

@mstv

Description

@mstv

Environment

  • Git Extensions v4.0.2 / 33.33.33
  • Build be087f8
  • Git 2.40.0.windows.1
  • Microsoft Windows NT 10.0.19045.0
  • .NET 6.0.16
  • DPI 96dpi (no scaling)
  • Microsoft.WindowsDesktop.App Versions
    Microsoft.WindowsDesktop.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Issue description

GE asserts that the git config "core.autocrlf" was "not set" although it is set in the system config file "C:/Program Files/Git/etc/gitconfig".

grafik

Steps to reproduce

install git and GE on a new machine

Did this work in previous version of GitExtensions?

no

Diagnostics

$ git config --show-origin core.autocrlf
file:C:/Program Files/Git/etc/gitconfig true

$ cat 'C:/Program Files/Git/etc/gitconfig'
[http]
        sslCAInfo = C:/Program Files/Git/mingw64/etc/ssl/certs/ca-bundle.crt
        sslBackend = openssl
[diff "astextplain"]
        textconv = astextplain
[filter "lfs"]
        clean = git-lfs clean -- %f
        smudge = git-lfs smudge -- %f
        process = git-lfs filter-process
        required = true
[credential]
        helper = manager
[core]
        editor = \"C:\\\\Program Files\\\\Notepad++\\\\notepad++.exe\" -multiInst -notabbar -nosession -noPlugin
        autocrlf = true
        fscache = true
        symlinks = false
[pull]
        rebase = false
[credential "https://dev.azure.com"]
        useHttpPath = true
[init]
        defaultBranch = master

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions