Skip to content

Commit 238b8cc

Browse files
author
Edward Thomson
authored
Merge pull request libgit2#4048 from jacquesg/rebase-error-check
rebase: check the result code of rebase_init_merge
2 parents 7829b41 + f928c69 commit 238b8cc

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)