Skip to content

Commit

Permalink
rebase: check the result code of rebase_init_merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesg committed Dec 29, 2016
1 parent 7829b41 commit f928c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebase.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ int git_rebase_init(
if (inmemory)
error = rebase_init_inmemory(rebase, repo, branch, upstream, onto);
else
rebase_init_merge(rebase, repo, branch ,upstream, onto);
error = rebase_init_merge(rebase, repo, branch ,upstream, onto);

if (error == 0)
*out = rebase;
Expand Down

0 comments on commit f928c69

Please sign in to comment.