# [PATCH 2/2] completion: Support `git mergetool --[no-]gui`

1 messages from 2018-10-24 to 2018-10-24. Participants: Denton Liu.
Thread: https://gitlist.dev/t/49656

## Denton Liu, 2018-10-24 02:25

Subject: [PATCH 2/2] completion: Support `git mergetool --[no-]gui`
Message-ID: <20181024022511.GA29050@archbookpro.localdomain>
URL: https://gitlist.dev/e/20181024022511.GA29050%40archbookpro.localdomain

```
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>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index db7fd87b6..a45b4a050 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1833,7 +1833,7 @@ _git_mergetool ()
 		return
 		;;
 	--*)
-		__gitcomp "--tool= --prompt --no-prompt"
+		__gitcomp "--tool= --prompt --no-prompt --gui --no-gui"
 		return
 		;;
 	esac
-- 
2.19.1


```
