From patchwork Fri Oct 26 06:11:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denton Liu X-Patchwork-Id: 10656961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 618A614DE for ; Fri, 26 Oct 2018 06:11:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 50CD72C572 for ; Fri, 26 Oct 2018 06:11:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 437CD2C57B; Fri, 26 Oct 2018 06:11:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBA562C572 for ; Fri, 26 Oct 2018 06:11:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726075AbeJZOrJ (ORCPT ); Fri, 26 Oct 2018 10:47:09 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:37563 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbeJZOrI (ORCPT ); Fri, 26 Oct 2018 10:47:08 -0400 Received: by mail-io1-f67.google.com with SMTP id k17-v6so22224ioc.4 for ; Thu, 25 Oct 2018 23:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rbzjfi72SOlcqcYe+gXXD6YoDqn6ghOmoLZ60dRN0zI=; b=WgWccJgmbXhuo3cAoPxtdT419TY0lVkGxqfSjdlv/gFF8naqV6jPbccO/vxeZJKDV1 teIbquJ5T3Ybd+3jWghUN2Q46+o8DLB8ndQglSism9jwSJxutyQuvtaNbpLr+j6MpLW5 cLC9mbbkj82/ScoU6rrXIpRmcdlLaVAAf5xMXS1AdIKWfJovyCA8n7uDRnsyE30i6lso zjIsYRFgh12b3+Hp4YpHwRUYEgbj5kMRRWQrrxGcWMDKk4lMDZbVTig8o+SMBukBsXro Bfcpn+2wQez1gRIqU6pR2viUykDN5dfwA4neDQrPcYwbi5lRCUpNcvTbQHQBwQGPBNz4 o01g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rbzjfi72SOlcqcYe+gXXD6YoDqn6ghOmoLZ60dRN0zI=; b=S+mUIwKQxkmfegAKVO+SbR4ZCByV+sK7wBj7Nnmj5mhHMAhsOpngZIJt0neKNLrv/g wZcBAgCcFrVG07/PX4XDWR13es/F2XdfYjzKHhBQEHjiv+awpwhHjkyalr6dzoLdOxDQ Jdk+fZal0FkkVCezefnM+uNxHASDOOlptyDKwEmKtTtOdiUzQaODSjdIDdCuyVpTdrf0 mXQv1YG3DBcPQ1/i0TcAAJnZrtZ5m+rBarDR+eZWB8XKK3SIzabwMgs0o8ZZrvpyaXQm wV2vC8pSz7c4e5jFtZqqgq7NiahL7l0booDJe82WPUoVDXO9lg36RgaBFnOgNZpdRlcj g8Yg== X-Gm-Message-State: AGRZ1gKQDtdXqWQWuoqzCwSyvPqHSuzyxtv8Uh8zUU+Se30BOZ9u+gPV 3b5gJHFLDfTs8ihvfHXEIDy7a4S6 X-Google-Smtp-Source: AJdET5dnjg3HII0Btf2cLPapa7KnGhk8TyRNOrM7hAycss2JZ4fc3O8Z8WrpWHd5LBSFdClOjuAIhA== X-Received: by 2002:a5e:9505:: with SMTP id r5-v6mr1251956ioj.224.1540534288682; Thu, 25 Oct 2018 23:11:28 -0700 (PDT) Received: from archbookpro.localdomain (ktnron0919w-lp140-01-76-68-143-166.dsl.bell.ca. [76.68.143.166]) by smtp.gmail.com with ESMTPSA id h130-v6sm3862084ioa.52.2018.10.25.23.11.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Oct 2018 23:11:28 -0700 (PDT) Date: Fri, 26 Oct 2018 02:11:26 -0400 From: Denton Liu To: git@vger.kernel.org Cc: liu.denton@gmail.com, anmolmago@gmail.com, briankyho@gmail.com, david.lu97@outlook.com, shirui.wang@hotmail.com, davvid@gmail.com, gitster@pobox.com Subject: [RESEND PATCH v3 2/3] completion: support `git mergetool --[no-]gui` Message-ID: <20181026061126.GA7302@archbookpro.localdomain> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Denton Liu Signed-off-by: Anmol Mago Signed-off-by: Brian Ho Signed-off-by: David Lu Signed-off-by: Ryan Wang --- 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