Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] completion: git: send-email: complete (recent) commits
- X-seq: zsh-workers 35222
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] completion: git: send-email: complete (recent) commits
- Date: Tue, 19 May 2015 18:01:49 +0200
- 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=
- In-reply-to: <1432023889-13887-1-git-send-email-genml+zsh-workers@thequod.de>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1432023889-13887-1-git-send-email-genml+zsh-workers@thequod.de>
-----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-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author