Add automatic git-mergetool invocation to the new infrastructure
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 9 Apr 2009 20:40:59 +0000 (23:40 +0300)
committerCatalinMarinas <cmarinas@laptop.(none)>
Thu, 9 Apr 2009 20:40:59 +0000 (23:40 +0300)
commit1de97e5f5e62a46d69515052a860138e417f149b
tree60d692a14f6c4cd5b093531fda7e21dba63e08a3
parentb993d23f49af71ded6b0eaeb19ccf25b6bec4432
Add automatic git-mergetool invocation to the new infrastructure

This patch adds the IndexAndWorktree.mergetool() function responsible
for calling 'git mergetool' to interactively solve conflicts. The
function may also be called from IndexAndWorktree.merge() if the
standard 'git merge-recursive' fails and 'interactive == True'. The
'allow_interactive' parameter is passed to Transaction.push_patch() from
the functions allowing interactive merging.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Acked-by: Karl Hasselström <kha@treskal.com>
stgit/commands/edit.py
stgit/commands/goto.py
stgit/lib/git.py
stgit/lib/transaction.py