Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
match-trees: convert shift_tree() and shift_tree_by() to use object_id
[gitweb.git]
/
test-match-trees.c
diff --git
a/test-match-trees.c
b/test-match-trees.c
index a4eea75a15824adce01eeb356c864665e98d2d83..17ebdf80bece3846679c9367ee0741c272db4994 100644
(file)
--- a/
test-match-trees.c
+++ b/
test-match-trees.c
@@
-17,7
+17,7
@@
int main(int ac, char **av)
if (!two)
die("not a tree-ish %s", av[2]);
- shift_tree(
one->object.oid.hash, two->object.oid.hash, shifted.hash
, -1);
+ shift_tree(
&one->object.oid, &two->object.oid, &shifted
, -1);
printf("shifted: %s\n", oid_to_hex(&shifted));
exit(0);