mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-03 23:50:01 +00:00
git_config_open_default: Honour xdr config
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
d7940ac3e4
commit
c378a1184e
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user