The installer fails once it tries to set .gitconfig with an error of invalid argument. this error is repeated about 15 times.
Unable to set system config "diff.astextplain.textconv":="astextplain": exit code 128
stderr:
fatal: unable to access 'U://.gitconfig': Invalid argument
It seems the install then still goes thrugh but git remains unusable with the exact same error not being able to find 'U://.gitconfig'
This is due to corporate enforced windows variables with user profile synced to server. Hence HOMEDRIVE/HOMEPATH points to U: instead of windows user profile on C:\Users<username> which is stored in USERPROFILE variable. Hence the installer and git should use USERPROFILE variable to write the settings.
Setup
64-bit Win 10
Git-2.25.1-64-bit.exe
The installer fails once it tries to set .gitconfig with an error of invalid argument. this error is repeated about 15 times.
Unable to set system config "diff.astextplain.textconv":="astextplain": exit code 128
stderr:
fatal: unable to access 'U://.gitconfig': Invalid argument
It seems the install then still goes thrugh but git remains unusable with the exact same error not being able to find 'U://.gitconfig'
This is due to corporate enforced windows variables with user profile synced to server. Hence HOMEDRIVE/HOMEPATH points to U: instead of windows user profile on C:\Users<username> which is stored in USERPROFILE variable. Hence the installer and git should use USERPROFILE variable to write the settings.
Setup
64-bit Win 10
Git-2.25.1-64-bit.exe