Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit-tree: allow generic object name for the tree as well.
[gitweb.git]
/
commit-tree.c
diff --git
a/commit-tree.c
b/commit-tree.c
index 2d8651894a20e752eb47e6da439ad3cee13c29c4..e91af4bd36a04d07dd00b124e63f2ab085de69df 100644
(file)
--- a/
commit-tree.c
+++ b/
commit-tree.c
@@
-92,7
+92,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);