global.c
4.01 KB
-
Correctly write to missing locked global config · 98c11905
Opening a default config when ~/.gitconfig doesn't exist, locking it, and attempting to write to it causes an assertion failure. Treat non-existent global config file content as an empty string. (cherry picked from commit e44110db)
Ian Hattendorf committed