Merge branch 'np/delta' into next
[gitweb.git] / commit-tree.c
index 25958509703f7e46dc0b1a4bffd7be8ba2897cf9..bad72e89e8d83360f75c6f260d2b358fd7f2bf36 100644 (file)
@@ -91,7 +91,7 @@ int main(int argc, char **argv)
 
        git_config(git_default_config);
 
-       if (argc < 2 || get_sha1_hex(argv[1], tree_sha1) < 0)
+       if (argc < 2 || get_sha1(argv[1], tree_sha1) < 0)
                usage(commit_tree_usage);
 
        check_valid(tree_sha1, tree_type);