Commit 407cf4e414ac2d67a27212e31d96582d4b83c8bc

Sven Strickroth 2012-09-24T23:22:07

Fixed typo: xdr config needs to have a lower priority than the global one Signed-off-by: Sven Strickroth <email@cs-ware.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/repository.c b/src/repository.c
index 3906cb3..d1cf47f 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -471,7 +471,7 @@ static int load_config(
 	}
 
 	if (xdr_config_path != NULL) {
-		if (git_config_add_file_ondisk(cfg, xdr_config_path, 3) < 0)
+		if (git_config_add_file_ondisk(cfg, xdr_config_path, 2) < 0)
 			goto on_error;
 	}