summaryrefslogtreecommitdiff
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
parentca0cb170119b3cef4ccdfc743b6c225e9e6eed53 (diff)
downloadzsh-afc4d416524f186e3bdb01c512b7c7795eb5572b.tar.gz
zsh-afc4d416524f186e3bdb01c512b7c7795eb5572b.zip
37129: _git: Complete 'commit -p'
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1000ae611..14e5783c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-17 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * 37129: Completion/Unix/Command/_git: _git: Complete 'commit -p'
+
2015-11-17 Peter Stephenson <p.stephenson@samsung.com>
* 37128: Src/lex.c, Test/D06subscript.ztst: work around alias
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]' \