diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-03 10:08:28 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-03 10:08:28 -0500 |
commit | 018fdbb5809469c917eb04c01e929050df30846f (patch) | |
tree | 73b832d3e55f66f7db73d2bcab515094a0500815 /src | |
parent | 72ca65d538d1e3ab7a9052613412bf121470dfd6 (diff) | |
parent | 09866d6f84a644c4dff258055c570d619fe7bad7 (diff) | |
download | libgit2-018fdbb5809469c917eb04c01e929050df30846f.tar.gz |
Merge pull request #2913 from ethomson/stash_fixup
stash: correctly stash wd modified/index deleted
Diffstat (limited to 'src')
-rw-r--r-- | src/stash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stash.c b/src/stash.c index 1cd64a6fe..8aa48cafe 100644 --- a/src/stash.c +++ b/src/stash.c @@ -313,8 +313,7 @@ static int build_workdir_tree( if ((error = git_commit_tree(&b_tree, b_commit)) < 0) goto cleanup; - if ((error = git_diff_tree_to_workdir_with_index( - &diff, repo, b_tree, &opts)) < 0) + if ((error = git_diff_tree_to_workdir(&diff, repo, b_tree, &opts)) < 0) goto cleanup; data.include_changed = true; |