diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-12-23 02:34:33 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-29 11:36:45 -0800 |
commit | bac2614de3c162de2328f21f2272ffbc30122230 (patch) | |
tree | aca6ccfb0ff828a8031f5c69eae0c08452593ebd /builtin-verify-pack.c | |
parent | 60bb8b1453e2f93d13e7bb44e8e46c085d2dd752 (diff) | |
download | git-bac2614de3c162de2328f21f2272ffbc30122230.tar.gz git-bac2614de3c162de2328f21f2272ffbc30122230.tar.xz |
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>
Diffstat (limited to 'builtin-verify-pack.c')
-rw-r--r-- | builtin-verify-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-verify-pack.c b/builtin-verify-pack.c index 7d39d9bcd..4e31c273f 100644 --- a/builtin-verify-pack.c +++ b/builtin-verify-pack.c @@ -55,6 +55,7 @@ int cmd_verify_pack(int argc, const char **argv, const char *prefix) int no_more_options = 0; int nothing_done = 1; + git_config(git_default_config); while (1 < argc) { if (!no_more_options && argv[1][0] == '-') { if (!strcmp("-v", argv[1])) |