When trying to switch between branches or committing to the active one from VS 2022 I get the following error:
Git failed with a fatal error.
Git failed with a fatal error.
unable to parse command-line config
Error reading git config: error running C:\Users\MRHE\AppData\Local\Programs\Git\mingw64\bin\git.exe 'config' '-l': 'error: bogus format in GIT_CONFIG_PARAMETERS
unable to parse command-line config' 'exit status 128'
The Git for Windows Desktop App works fine.
This is the first time I encounter a similar problem and unfortunately don't really know how to troubleshoot it.
Remote: Total 74 (delta 52), reused 71 (delta 49), pack-reused 0
From https://github.com/mariuszhermansdorfer/dhart
f78e70523..5155c7795 support-for-stream-of-rays-in-embree -> origin/support-for-stream-of-rays-in-embree
Updating f78e70523..5155c7795
Error: failed to call git rev-parse --git-dir: exit status 128 : error: bogus format in GIT_CONFIG_PARAMETERS
Git failed with a fatal error.
Git failed with a fatal error.
unable to parse command-line config
Error reading git config: error running C:\Users\MRHE\AppData\Local\Programs\Git\mingw64\bin\git.exe 'config' '-l': 'error: bogus format in GIT_CONFIG_PARAMETERS
unable to parse command-line config' 'exit status 128'