Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'br/mergetools-guiffy'
[gitweb.git]
/
builtin
/
commit-tree.c
diff --git
a/builtin/commit-tree.c
b/builtin/commit-tree.c
index e5bdf57b1e14cf54916c7eef077e63edddb28901..ecf42191da10cd2e87360f001d5493e792b9682e 100644
(file)
--- a/
builtin/commit-tree.c
+++ b/
builtin/commit-tree.c
@@
-58,7
+58,7
@@
int cmd_commit_tree(int argc, const char **argv, const char *prefix)
usage(commit_tree_usage);
if (get_oid_commit(argv[i], &oid))
die("Not a valid object name %s", argv[i]);
- assert_
sha1_type(oid.hash
, OBJ_COMMIT);
+ assert_
oid_type(&oid
, OBJ_COMMIT);
new_parent(lookup_commit(&oid), &parents);
continue;
}