diff options
Diffstat (limited to 'cat-file.c')
-rw-r--r-- | cat-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cat-file.c b/cat-file.c index 3c47d79a16..d253ff9380 100644 --- a/cat-file.c +++ b/cat-file.c @@ -12,7 +12,7 @@ int main(int argc, char **argv) void *buf; unsigned long size; - if (argc != 3 || get_sha1_hex(argv[2], sha1)) + if (argc != 3 || get_sha1(argv[2], sha1)) usage("cat-file [-t | tagname] <sha1>"); buf = read_sha1_file(sha1, type, &size); if (!buf) |