From: Daniel Hahler <genml+zsh-workers@thequod.de>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] completion: git: send-email: complete (recent) commits
Date: Tue, 19 May 2015 18:01:49 +0200 [thread overview]
Message-ID: <555B5E6D.4010309@thequod.de> (raw)
In-Reply-To: <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-----
prev parent reply other threads:[~2015-05-19 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 8:24 Daniel Hahler
2015-05-19 16:01 ` Daniel Hahler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=555B5E6D.4010309@thequod.de \
--to=genml+zsh-workers@thequod.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).