mergetool: accept -g/--[no-]gui as arguments
authorDenton Liu <liu.denton@gmail.com>
Wed, 24 Oct 2018 16:25:31 +0000 (12:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Oct 2018 05:01:10 +0000 (14:01 +0900)
commit063f2bdbf767dd24bc0a35b5476d8025ee8646c7
tree98d9c98da418e0193b7c541b191af809529e9264
parentc4df23f7927d8d00e666a3c8d1b3375f1dc8a3c1
mergetool: accept -g/--[no-]gui as arguments

In line with how difftool accepts a -g/--[no-]gui option, make mergetool
accept the same option in order to use the `merge.guitool` variable to
find the default mergetool instead of `merge.tool`.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Anmol Mago <anmolmago@gmail.com>
Signed-off-by: Brian Ho <briankyho@gmail.com>
Signed-off-by: David Lu <david.lu97@outlook.com>
Signed-off-by: Ryan Wang <shirui.wang@hotmail.com>
Acked-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-mergetool.txt
git-mergetool--lib.sh
git-mergetool.sh