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>
This commit is contained in:
parent
a62d6d84c6
commit
ff350ccf49
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user