/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge: convert checkout_fast_forward to struct object_id
[git/git.git]
/
builtin
/
merge.c
diff --git
a/builtin/merge.c
b/builtin/merge.c
index
f11b5f3
..
5ea7f7d
100644
(file)
--- a/
builtin/merge.c
+++ b/
builtin/merge.c
@@
-1372,8
+1372,8
@@
int cmd_merge(int argc, const char **argv, const char *prefix)
goto done;
}
- if (checkout_fast_forward(
head_commit->object.oid.hash
,
-
commit->object.oid.hash
,
+ if (checkout_fast_forward(
&head_commit->object.oid
,
+
&commit->object.oid
,
overwrite_ignore)) {
ret = 1;
goto done;