From ff350ccf49a800c4c90f817d346fb1bcb96e02e7 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Sat, 10 Nov 2007 15:00:33 -0500 Subject: [PATCH] git-hash-object should honor config variables ... such as core.compression. Signed-off-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- hash-object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hash-object.c b/hash-object.c index 18f5017f51..0a58f3f126 100644 --- a/hash-object.c +++ b/hash-object.c @@ -42,6 +42,8 @@ int main(int argc, char **argv) int prefix_length = -1; int no_more_flags = 0; + git_config(git_default_config); + for (i = 1 ; i < argc; i++) { if (!no_more_flags && argv[i][0] == '-') { if (!strcmp(argv[i], "-t")) { -- 2.11.4.GIT