]> git.ipfire.org Git - thirdparty/git.git/blobdiff - rev-list.c
Add "get_sha1()" helper function.
[thirdparty/git.git] / rev-list.c
index 77bfc29db1aad08ba9d7d87ce08d33d4a88e74e3..42fd154fc1a3b9a066a5d7d3ec997355e53f784e 100644 (file)
@@ -7,7 +7,7 @@ int main(int argc, char **argv)
        struct commit_list *list = NULL;
        struct commit *commit;
 
-       if (argc != 2 || get_sha1_hex(argv[1], sha1))
+       if (argc != 2 || get_sha1(argv[1], sha1))
                usage("rev-list <commit-id>");
 
        commit = lookup_commit(sha1);