Commit f928c69a by Jacques Germishuys

rebase: check the result code of rebase_init_merge

parent 7829b411
...@@ -731,7 +731,7 @@ int git_rebase_init( ...@@ -731,7 +731,7 @@ int git_rebase_init(
if (inmemory) if (inmemory)
error = rebase_init_inmemory(rebase, repo, branch, upstream, onto); error = rebase_init_inmemory(rebase, repo, branch, upstream, onto);
else else
rebase_init_merge(rebase, repo, branch ,upstream, onto); error = rebase_init_merge(rebase, repo, branch ,upstream, onto);
if (error == 0) if (error == 0)
*out = rebase; *out = rebase;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment