Load core configuration in git-verify-pack.
Now that our pack access code's behavior may be altered by the setting of core.packedGitWindowSize or core.packedGitLimit we need to make sure these values are set as configured in the repository's configuration file rather than to their defaults. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Shawn O. Pearce committed
Dec 23, 2006 at 02:34 UTC
bac2614de3c162de2328f21f2272ffbc30122230
1 file changed
+1
builtin-verify-pack.c
+1
@@ -55,6 +55,7 @@ int cmd_verify_pack(int argc, const char **argv, const char *prefix)
55
int no_more_options = 0;
56
int nothing_done = 1;
57
58
+ git_config(git_default_config);
59
while (1 < argc) {
60
if (!no_more_options && argv[1][0] == '-') {
61
if (!strcmp("-v", argv[1]))