aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2007-08-19 19:24:36 +0200
committerJunio C Hamano <gitster@pobox.com>2007-08-19 14:38:45 -0700
commit463a849d004b2a3f3c8254b1e7985d4e986b9f1a (patch)
tree80233155b1a939f7c0e30ad6bb77ca3197e3d04d /Documentation
parent2f82f760e1b2630073a05c44fe70bdce9706d9e5 (diff)
downloadgit-463a849d004b2a3f3c8254b1e7985d4e986b9f1a.tar.gz
git-463a849d004b2a3f3c8254b1e7985d4e986b9f1a.tar.xz
Add and document a global --no-pager option for git.
To keep the change small, this is done by setting GIT_PAGER to "cat". Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 8017997fb..3b0d53025 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -9,7 +9,8 @@ git - the stupid content tracker
SYNOPSIS
--------
[verse]
-'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate]
+'git' [--version] [--exec-path[=GIT_EXEC_PATH]]
+ [-p|--paginate|--no-pager]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]
@@ -103,6 +104,9 @@ OPTIONS
-p|--paginate::
Pipe all output into 'less' (or if set, $PAGER).
+--no-pager::
+ Do not pipe git output into a pager.
+
--git-dir=<path>::
Set the path to the repository. This can also be controlled by
setting the GIT_DIR environment variable.