Commit 0c94deb9 by Carlos Martín Nieto

Merge pull request #3239 from git-up/stash_index

Write modified index in git_stash_apply()
parents e96a97f1 e35b947b
...@@ -819,6 +819,8 @@ int git_stash_apply( ...@@ -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);
......
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