From: Luka Perkov <luka@openwrt.org>
To: zsh-workers@zsh.org
Cc: Luka Perkov <luka@openwrt.org>
Subject: [PATCH] _git: add few more arguments for cherry-pick and revert
Date: Sat, 14 Sep 2013 01:34:13 +0200 [thread overview]
Message-ID: <1379115253-2170-1-git-send-email-luka@openwrt.org> (raw)
Signed-off-by: Luka Perkov <luka@openwrt.org>
---
Completion/Unix/Command/_git | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a24069a..9808040 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -464,6 +464,9 @@ _git-checkout () {
(( $+functions[_git-cherry-pick] )) ||
_git-cherry-pick () {
_arguments \
+ '(- :)--quit[end revert or cherry-pick sequence]' \
+ '(- :)--continue[resume revert or cherry-pick sequence]' \
+ '(- :)--abort[cancel revert or cherry-pick sequence]' \
'(-e --edit --ff)'{-e,--edit}'[edit commit before committing the revert]' \
'(--ff)-x[append information about what commit was cherry-picked]' \
'(-m --mainline)'{-m,--mainline}'[specify mainline when cherry-picking a merge commit]:parent number' \
@@ -1248,6 +1251,9 @@ _git-reset () {
(( $+functions[_git-revert] )) ||
_git-revert () {
_arguments -w -S -s \
+ '(- :)--quit[end revert or cherry-pick sequence]' \
+ '(- :)--continue[resume revert or cherry-pick sequence]' \
+ '(- :)--abort[cancel revert or cherry-pick sequence]' \
'(-e --edit --no-edit)'{-e,--edit}'[edit the commit before committing the revert]' \
'(-m --mainline)'{-m+,--mainline=}'[pick which parent is mainline]:parent number' \
'(-e --edit)--no-edit[do not edit the commit message]' \
--
1.8.4
reply other threads:[~2013-09-13 23:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1379115253-2170-1-git-send-email-luka@openwrt.org \
--to=luka@openwrt.org \
--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).