diff options
Diffstat (limited to 'commit-tree.c')
-rw-r--r-- | commit-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-tree.c b/commit-tree.c index 2595850970..bad72e89e8 100644 --- a/commit-tree.c +++ b/commit-tree.c @@ -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); |