mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 12:52:58 +00:00
rebase: check the result code of rebase_init_merge
This commit is contained in:
parent
7829b4118a
commit
f928c69a07
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user