File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,11 @@ function openLocalConfig () {
7373}
7474
7575function defineMergeTool () {
76- echo " Enter merge tool name (the command how you call it in the shell ):"
76+ echo " Enter merge tool name (e.g. vimdiff ):"
7777 read editor
7878 [ " ${editor} " = " " ] && waitonexit && return
7979 git config --global merge.tool $editor
80+ git config --global diff.tool $editor
8081}
8182
8283function adminAliases() {
@@ -116,7 +117,7 @@ submenuHead "Configure repositories:"
116117menuItem e " Define the author name and email to be used for all commits" defineAuthor
117118menuItem f " Administering aliases" adminAliases
118119menuItem g " Define the text editor used by commands" textEditor
119- menuItem h " Define merge tool" defineMergeTool
120+ menuItem h " Define merge/diff tool" defineMergeTool
120121menuItem i " Open global config" openGlobalConfig
121122menuItem j " Open system config" openSystemConfig
122123menuItem k " Open local config" openLocalConfig
You can’t perform that action at this time.
0 commit comments