summaryrefslogtreecommitdiffstats
path: root/git-var.txt
diff options
context:
space:
mode:
authorJunio C Hamano <jch@google.com>2012-04-23 13:55:49 -0700
committerJunio C Hamano <jch@google.com>2012-04-23 13:55:49 -0700
commit4eda136783d48b089bf8fbdb0d45883cb71fb68d (patch)
treec5f0b1977935832bf5fd1e75e6765d9c10bfc46a /git-var.txt
parent0c1b64ec7505c3f5b7ca8e4ccc69a577adb0b814 (diff)
downloadgit-htmldocs-4eda136783d48b089bf8fbdb0d45883cb71fb68d.tar.gz
Autogenerated HTML docs for v1.7.10-280-gaa39
Diffstat (limited to 'git-var.txt')
-rw-r--r--git-var.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/git-var.txt b/git-var.txt
index 5317cc247..988a3234f 100644
--- a/git-var.txt
+++ b/git-var.txt
@@ -43,13 +43,21 @@ GIT_EDITOR::
`$SOME_ENVIRONMENT_VARIABLE`, `"C:\Program Files\Vim\gvim.exe"
--nofork`. The order of preference is the `$GIT_EDITOR`
environment variable, then `core.editor` configuration, then
- `$VISUAL`, then `$EDITOR`, and then finally 'vi'.
+ `$VISUAL`, then `$EDITOR`, and then the default chosen at compile
+ time, which is usually 'vi'.
+ifdef::git-default-editor[]
+ The build you are using chose '{git-default-editor}' as the default.
+endif::git-default-editor[]
GIT_PAGER::
Text viewer for use by git commands (e.g., 'less'). The value
is meant to be interpreted by the shell. The order of preference
is the `$GIT_PAGER` environment variable, then `core.pager`
- configuration, then `$PAGER`, and then finally 'less'.
+ configuration, then `$PAGER`, and then the default chosen at
+ compile time (usually 'less').
+ifdef::git-default-pager[]
+ The build you are using chose '{git-default-pager}' as the default.
+endif::git-default-pager[]
Diagnostics
-----------