stash: invoke rerere in case of conflict
authorPhil Hord <hordp@cisco.com>
Tue, 10 Jul 2012 22:52:28 +0000 (18:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Aug 2012 17:59:17 +0000 (10:59 -0700)
commit743bf6d8b07f0c5717bf5c37b8b50ae9de619c83
tree7f5fa1c98bca0b31bce92d861d560ff2bd99b62a
parent79dc2d0b0250b4a90dfc83ae69c116e08c9df0a3
stash: invoke rerere in case of conflict

"stash apply" directly calls a backend merge function which does not
automatically invoke rerere.  This confuses mergetool when leftover
rerere state is left behind from previous merges.

Invoke rerere explicitly when we encounter a conflict during stash
apply.  This turns the test introduced by the previous commit to
succeed.

Signed-off-by: Phil Hord <hordp@cisco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh
t/t7610-mergetool.sh