about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-09-01 20:27:46 +0000
committerClint Adams <clint@users.sourceforge.net>2008-09-01 20:27:46 +0000
commita156e4714e6b353ef372a9149beb069b78d9a0b6 (patch)
tree0bfbfaf1cf72a718254ceb549cc393d52db54eb1
parent1f81bdcb47d42fc72340503eca46eb0a8b64c4ef (diff)
downloadzsh-a156e4714e6b353ef372a9149beb069b78d9a0b6.tar.gz
zsh-a156e4714e6b353ef372a9149beb069b78d9a0b6.tar.xz
zsh-a156e4714e6b353ef372a9149beb069b78d9a0b6.zip
Frank Terbeck: 25588: add --no-pager option to git completion.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d331ae19..b860c3b2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-01  Clint Adams  <clint@zsh.org>
+
+	* Frank Terbeck: 25588: Completion/Unix/Command/_git: add
+	--no-pager option to git completion.
+
 2008-09-01  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 25587: Src/exec.c, Src/parse.c, Src/subst.c: foo==(stuff)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 2eec491f9..44030aed4 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4305,6 +4305,7 @@ if [[ $service == git ]]; then
     '(- :)--help[display help message]' \
     '--exec-path=-[path containing core git-programs]::directory:_directories' \
     '(-p --paginate)'{-p,--paginate}'[pipe output into $PAGER]' \
+    '--no-pager[do not pipe git output into a pager]' \
     '--git-dir=-[path to repository]:directory:_directories' \
     '--bare[use $PWD as repository]' \
     '*::arg:->cmd_or_options' && return