summaryrefslogtreecommitdiff
path: root/git-stash.sh
diff options
context:
space:
mode:
authorPhil Hord <hordp@cisco.com>2012-07-10 22:52:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-17 17:56:19 (GMT)
commit79dc2d0b0250b4a90dfc83ae69c116e08c9df0a3 (patch)
treea3bec74dae9380e4ab2ebd87ef52ac7420900d39 /git-stash.sh
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e (diff)
downloadgit-79dc2d0b0250b4a90dfc83ae69c116e08c9df0a3.zip
git-79dc2d0b0250b4a90dfc83ae69c116e08c9df0a3.tar.gz
git-79dc2d0b0250b4a90dfc83ae69c116e08c9df0a3.tar.bz2
test: git-stash conflict sets up rerere
Add a test to make sure that a conflicted "stash apply" invokes rerere to record the conflicts and resolve the the files it can (the current code doesn't, so the test is marked as failing). Without correct state recorded for rerere, mergetool may be confused, causing it to think no files have conflicts even though they do. This condition is not verified by this test since a subsequent commit will change the behavior to enable rerere for stash conflicts. Also, the next test expected us to finish up with a reset, which is impossible to do if we fail (as we must) and it's an unreasonable expectation anyway. Begin the next test with a reset of its own instead. Signed-off-by: Phil Hord <hordp@cisco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
0 files changed, 0 insertions, 0 deletions