about summary refs log tree commit diff
diff options
context:
space:
mode:
-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