Skip to content

Commit f928c69

Browse files
committed
rebase: check the result code of rebase_init_merge
1 parent 7829b41 commit f928c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ int git_rebase_init(
731731
if (inmemory)
732732
error = rebase_init_inmemory(rebase, repo, branch, upstream, onto);
733733
else
734-
rebase_init_merge(rebase, repo, branch ,upstream, onto);
734+
error = rebase_init_merge(rebase, repo, branch ,upstream, onto);
735735

736736
if (error == 0)
737737
*out = rebase;

0 commit comments

Comments
 (0)