Code

mergetool--lib: Refactor tools into separate files
authorDavid Aguilar <davvid@gmail.com>
Thu, 18 Aug 2011 07:23:46 +0000 (00:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2011 07:09:19 +0000 (00:09 -0700)
commitbc7a96a8965d4ce0651689301e1702a942dfb9f0
treed4d6f70f97683090221c8f7ba4888a54e4d73a92
parent240dc3e8edb3ae4ee968febc006fa761811c60e6
mergetool--lib: Refactor tools into separate files

Individual merge tools are now defined in a mergetools/$tool
file which is sourced at runtime.

The individual files are installed into $(git --exec-path)/mergetools/.
New tools can be added by creating a new file instead of editing the
git-mergetool--lib.sh scriptlet.

http://thread.gmane.org/gmane.comp.version-control.git/134906/focus=135006

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 files changed:
Makefile
git-mergetool--lib.sh
mergetools/araxis [new file with mode: 0644]
mergetools/bc3 [new file with mode: 0644]
mergetools/defaults [new file with mode: 0644]
mergetools/diffuse [new file with mode: 0644]
mergetools/ecmerge [new file with mode: 0644]
mergetools/emerge [new file with mode: 0644]
mergetools/kdiff3 [new file with mode: 0644]
mergetools/kompare [new file with mode: 0644]
mergetools/meld [new file with mode: 0644]
mergetools/opendiff [new file with mode: 0644]
mergetools/p4merge [new file with mode: 0644]
mergetools/tkdiff [new file with mode: 0644]
mergetools/tortoisemerge [new file with mode: 0644]
mergetools/vim [new file with mode: 0644]
mergetools/xxdiff [new file with mode: 0644]