{"thread":{"id":"10789","subject":"[PATCH] git-hash-object should honor config variables","startedAt":"2007-11-10T20:00:33Z","lastAt":"2007-11-10T20:00:33Z","messageCount":1,"participants":["Nicolas Pitre"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"59238","messageId":"alpine.LFD.0.9999.0711101458020.21255@xanadu.home","threadId":"10789","inReplyTo":null,"subject":"[PATCH] git-hash-object should honor config variables","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2007-11-10T20:00:33Z","receivedAt":"2007-11-10T20:00:33Z","isPatch":true,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"... such as core.compression.\n\nSigned-off-by: Nicolas Pitre <nico@cam.org>\n---\ndiff --git a/hash-object.c b/hash-object.c\nindex 18f5017..0a58f3f 100644\n--- a/hash-object.c\n+++ b/hash-object.c\n@@ -42,6 +42,8 @@ int main(int argc, char **argv)\n \tint prefix_length = -1;\n \tint no_more_flags = 0;\n \n+\tgit_config(git_default_config);\n+\n \tfor (i = 1 ; i < argc; i++) {\n \t\tif (!no_more_flags && argv[i][0] == '-') {\n \t\t\tif (!strcmp(argv[i], \"-t\")) {\n"}]}