summary refs log tree commit diff
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2013-10-20 19:43:34 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2013-10-21 17:40:13 +0200
commit95a5ca90d9fbc925157471dd38437d8a16b853b1 (patch)
treefa8a74f725b5cfa99d1d4c2c8cd589dcfc013f3a
parent3d77fa789d80d361d07ede1c2588500742fc2860 (diff)
downloadzsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.tar.gz
zsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.tar.xz
zsh-95a5ca90d9fbc925157471dd38437d8a16b853b1.zip
31865: _git: Make --batch(-check) accept an argument
Also reword the explanation slightly to make it more compact since more
explanation is needed.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f74855eba..0f78b8363 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,9 @@
 	* 31864: Completion/Unix/Command/_git: _git: Add two sub-comamnds
 	introduced in v1.8.4
 
+	* 31865: Completion/Unix/Command/_git: _git: Make --batch(-check)
+	accept an argument
+
 2013-10-21  m0viefreak  <m0viefreak.cm@googlemail.com>
 
 	* 31856: Completion/Unix/Command/_git: _git: fix a few
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 0f41acb32..119a705f6 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4192,8 +4192,8 @@ _git-cat-file () {
     '(- 1)-e[exit with zero status if object exists]' \
     '(- 1)-p[pretty-print given object]' \
     '(- 1)--textconv[show content as transformed by a textconv filter]' \
-    '(- :)--batch[print SHA1, type, size, and contents of each object provided on stdin]' \
-    '(- :)--batch-check[print SHA1, type, and size of each object provided on stdin]' \
+    '(- :)--batch=-[print SHA1, type, size and contents (or in <format>) of objects given on stdin]:format' \
+    '(- :)--batch-check=-[print SHA1, type and size (or in <format>) of objects given on stdin]:format' \
     '(-):object type:(blob commit tag tree)' \
     ': :__git_objects'
 }