Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-hash-object should honor config variables
author
Nicolas Pitre
<nico@cam.org>
Sat, 10 Nov 2007 20:00:33 +0000
(15:00 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 11 Nov 2007 10:51:53 +0000
(
02:51
-0800)
... such as core.compression.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hash-object.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
a62d6d8
)
diff --git
a/hash-object.c
b/hash-object.c
index 18f5017f51bcac5798e959991be37c7cd6d70528..0a58f3f1267dcb4dbd67c89fc165367c6840f1da 100644
(file)
--- 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")) {