diff options
author | Nicolas Pitre <nico@cam.org> | 2007-11-10 21:00:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-11 11:51:53 +0100 |
commit | ff350ccf49a800c4c90f817d346fb1bcb96e02e7 (patch) | |
tree | ceef4d85c76ee9a12c9cf7a7590076ac5b3e98bf /hash-object.c | |
parent | gitweb: correct month in date display for atom feeds (diff) | |
download | git-ff350ccf49a800c4c90f817d346fb1bcb96e02e7.tar.xz git-ff350ccf49a800c4c90f817d346fb1bcb96e02e7.zip |
git-hash-object should honor config variables
... such as core.compression.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hash-object.c')
-rw-r--r-- | hash-object.c | 2 |
1 files changed, 2 insertions, 0 deletions
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")) { |