Commit c378a118 by Sven Strickroth

git_config_open_default: Honour xdr config

Signed-off-by: Sven Strickroth <email@cs-ware.de>
parent d7940ac3
......@@ -541,6 +541,9 @@ int git_config_open_default(git_config **out)
error = git_config_new(&cfg);
if (!error && !git_config_find_global_r(&buf))
error = git_config_add_file_ondisk(cfg, buf.ptr, 3);
if (!error && !git_config_find_xdr_r(&buf))
error = git_config_add_file_ondisk(cfg, buf.ptr, 2);
if (!error && !git_config_find_system_r(&buf))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment