rebase: check the result code of rebase_init_merge

This commit is contained in:
Jacques Germishuys 2016-12-29 12:54:26 +02:00
parent 7829b4118a
commit f928c69a07

View File

@ -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;