summaryrefslogtreecommitdiff
path: root/convert-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert-cache.c')
-rw-r--r--convert-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/convert-cache.c b/convert-cache.c
index 631d1aa..4d34d2d 100644
--- a/convert-cache.c
+++ b/convert-cache.c
@@ -303,7 +303,7 @@ int main(int argc, char **argv)
unsigned char sha1[20];
struct entry *entry;
- if (argc != 2 || get_sha1_hex(argv[1], sha1))
+ if (argc != 2 || get_sha1(argv[1], sha1))
usage("convert-cache <sha1>");
entry = convert_entry(sha1);