summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-17 22:14:04 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-17 23:31:26 +0000
commitafc4d416524f186e3bdb01c512b7c7795eb5572b (patch)
tree2418f6b9286f1e5dc1c4bb3ed3174f2ada684550 /Completion/Unix/Command
parentca0cb170119b3cef4ccdfc743b6c225e9e6eed53 (diff)
downloadzsh-afc4d416524f186e3bdb01c512b7c7795eb5572b.tar.gz
zsh-afc4d416524f186e3bdb01c512b7c7795eb5572b.tar.xz
zsh-afc4d416524f186e3bdb01c512b7c7795eb5572b.zip
37129: _git: Complete 'commit -p'
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 614185ebb..c97fed399 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -656,7 +656,7 @@ _git-commit () {
     '(        --porcelain --dry-run)--short[output dry run in short format]' \
     '(--short             --dry-run)--porcelain[output dry run in porcelain-ready format]' \
     '(--short --porcelain --dry-run -z --null)'{-z,--null}'[separate dry run entry output with NUL]' \
-    '--patch[use the interactive patch selection interface to chose which changes to commit]' \
+    {-p,--patch}'[use the interactive patch selection interface to chose which changes to commit]' \
     '(--reset-author)--author[override the author name used in the commit]:author name' \
     '--date=[override the author date used in the commit]:date' \
     '(-s --signoff)'{-s,--signoff}'[add Signed-off-by line at the end of the commit message]' \