mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 14:42:09 +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)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user