X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=hash-object.c;h=0a58f3f1267dcb4dbd67c89fc165367c6840f1da;hb=891e85a0c08e12d3f6174d8eb10b4ef284c4b01b;hp=18f5017f51bcac5798e959991be37c7cd6d70528;hpb=0a98f9d13802880a68ce6564b9f47b1c3e3341c7;p=git.git diff --git a/hash-object.c b/hash-object.c index 18f5017f5..0a58f3f12 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")) {