Commit c050b58
committed
mingw: support Windows Server 2016 again
It was reported to the Git for Windows project that a simple `git init`
fails on Windows Server 2016:
D:\Dev\test> git init
error: could not write config file D:/Dev/test/.git/config: Function not implemented
fatal: could not set 'core.repositoryformatversion' to '0'
According to https://endoflife.date/windows-server, Windows Server 2016
is officially supported for another one-and-a-half years as of time of
writing, so this is not good.
The culprit is the `mingw_rename()` changes that try to use POSIX
semantics when available, but fail to fall back properly on Windows
Server 2016.
This fixes git-for-windows#5695.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 311e67d commit c050b58
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2916 | 2916 | | |
2917 | 2917 | | |
2918 | 2918 | | |
2919 | | - | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
2920 | 2922 | | |
2921 | 2923 | | |
2922 | 2924 | | |
| |||
0 commit comments