From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21171 invoked by alias); 19 May 2015 16:01:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35222 Received: (qmail 8105 invoked from network); 19 May 2015 16:01:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=postfix2; t= 1432051310; bh=tOPJ374HV/pXgsgiI5awC1kd1+pyqcGFB9MPEvIhO3M=; b=h XfQ8iQg6+qiCmcWqA1ZB4ArEn9uSiQTj4f2mUV4jdog0836QcJC9VxkjK1DgqrMI ZIh5a8uj4nZBtZQJqucDlwygj40HzdqfeYEE3/LTRrtJ4ETI2QQ4xksJikQWgX61 nwwFUkmChxrMG9p5vARuIjwDjWmbWQyWB4Vl9J8RAo= Message-ID: <555B5E6D.4010309@thequod.de> Date: Tue, 19 May 2015 18:01:49 +0200 From: Daniel Hahler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Re: [PATCH] completion: git: send-email: complete (recent) commits References: <1432023889-13887-1-git-send-email-genml+zsh-workers@thequod.de> In-Reply-To: <1432023889-13887-1-git-send-email-genml+zsh-workers@thequod.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19.05.2015 10:24, Daniel Hahler wrote: > - '*: :_files' > + '*: : _alternative > + "files:file:_files" > + "commits:recent commit object name:__git_commit_objects_prefer_recent"' I've fixed this to use the following, thanks to Mikael (and Daniel Shahaf for the hint to use a space before "_alternative" in the original patch): diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index b31b694..fa79aff 100644 - --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -3732,7 +3732,7 @@ _git-send-email () { '( --no-validate)--validate[perform sanity checks on patches]' \ '(--validate )--no-validate[do not perform sanity checks on patches]' \ '--force[send emails even if safety checks would prevent it]' \ - - '*: : _alternative + '*: : _alternative -O expl "files:file:_files" "commits:recent commit object name:__git_commit_objects_prefer_recent"' } Regards, Daniel. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iD8DBQFVW15tfAK/hT/mPgARAn60AJ9tl6gBmNg35vrTuM71ZrtC4CgepACfY8Mm lbOkBktAkKHmrTgej90XGiI= =a11T -----END PGP SIGNATURE-----