Merge branch 'jh/verify-index-checksum-only-in-fsck'
[gitweb.git] / builtin / config.c
index 4f49a0edb9071f4f63e97dfae902ff7a0aa51ee9..3f7c8763d21764a43749163ef26d7c3c30877bf3 100644 (file)
@@ -502,7 +502,7 @@ int cmd_config(int argc, const char **argv, const char *prefix)
        }
 
        if (use_global_config) {
-               char *user_config = expand_user_path("~/.gitconfig");
+               char *user_config = expand_user_path("~/.gitconfig", 0);
                char *xdg_config = xdg_config_home("config");
 
                if (!user_config)