mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 20:14:44 +00:00
Write modified index in git_stash_apply()
Same as with git_stash_save(), there's no reason not to write the index to disk since it has been modified.
This commit is contained in:
parent
e96a97f18e
commit
e35b947bec
@ -819,6 +819,8 @@ int git_stash_apply(
|
|||||||
|
|
||||||
NOTIFY_PROGRESS(opts, GIT_STASH_APPLY_PROGRESS_DONE);
|
NOTIFY_PROGRESS(opts, GIT_STASH_APPLY_PROGRESS_DONE);
|
||||||
|
|
||||||
|
error = git_index_write(repo_index);
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
git_index_free(untracked_index);
|
git_index_free(untracked_index);
|
||||||
git_index_free(modified_index);
|
git_index_free(modified_index);
|
||||||
|
Loading…
Reference in New Issue
Block a user