X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=cat-file.c;h=d775a1545beb84caf05cae8980fb2d839240fdea;hb=8bfcd309907b1f612e82477739bbe2b98b5689a4;hp=ef58970d82ae9d6e62ec43c496ac1677aedeee3f;hpb=89ab859e9452cbc8f1f15afab52257e9b789c899;p=git.git diff --git a/cat-file.c b/cat-file.c index ef58970d..d775a154 100644 --- a/cat-file.c +++ b/cat-file.c @@ -12,6 +12,7 @@ int main(int argc, char **argv) void *buf; unsigned long size; + setup_git_directory(); if (argc != 3 || get_sha1(argv[2], sha1)) usage("git-cat-file [-t | -s | ] ");