diff options
Diffstat (limited to 'fsck-cache.c')
-rw-r--r-- | fsck-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c index d8d2e594f..fbcd2b64f 100644 --- a/fsck-cache.c +++ b/fsck-cache.c @@ -178,7 +178,7 @@ int main(int argc, char **argv) if (*arg == '-') continue; - if (!get_sha1_hex(arg, head_sha1)) { + if (!get_sha1(arg, head_sha1)) { struct commit *commit = lookup_commit(head_sha1); struct object *obj; |