config_file.c
29.4 KB
-
Correctly write to missing locked global config · e44110db
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.
Ian Hattendorf committed