* [PATCH] _git: add --fixup and --squash options to commit
@ 2013-09-07 0:01 Luka Perkov
0 siblings, 0 replies; only message in thread
From: Luka Perkov @ 2013-09-07 0:01 UTC (permalink / raw)
To: zsh-workers; +Cc: Luka Perkov
Signed-off-by: Luka Perkov <luka@openwrt.org>
---
Completion/Unix/Command/_git | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 1448698..a24069a 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -591,6 +591,8 @@ _git-commit () {
# TODO: --interactive isn’t explicitly listed in the documentation.
_arguments -w -S -s \
'(-a --all --interactive -o --only -i --include *)'{-a,--all}'[stage all modified and deleted paths]' \
+ '--fixup=[construct a commit message for use with rebase --autosquash]:' \
+ '--squash=[construct a commit message for use with rebase --autosquash]:' \
$reset_author_opt \
'( --porcelain --dry-run)--short[output dry run in short format]' \
'(--short --dry-run)--porcelain[output dry run in porcelain-ready format]' \
--
1.8.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-07 0:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-07 0:01 [PATCH] _git: add --fixup and --squash options to commit Luka Perkov
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).