From f6002a9d88be66b5d7ac79bf312feb0b622791ca Mon Sep 17 00:00:00 2001
From: Junio C Hamano
Date: Fri, 20 Jul 2007 10:28:22 +0000
Subject: [PATCH] Autogenerated HTML docs for v1.5.3-rc2-22-g69a9b
---
config.txt | 8 ++++++++
git-commit.html | 10 ++++++----
git-commit.txt | 10 ++++++----
git-config.html | 15 ++++++++++++++-
git-send-email.html | 6 +++---
git-send-email.txt | 4 ++--
git.html | 6 ++++--
git.txt | 4 +++-
8 files changed, 46 insertions(+), 17 deletions(-)
diff --git a/config.txt b/config.txt
index d0e9a175f..a850d55bf 100644
--- a/config.txt
+++ b/config.txt
@@ -281,6 +281,14 @@ core.excludesfile::
of files which are not meant to be tracked. See
gitlink:gitignore[5].
+core.editor::
+ Commands such as `commit` and `tag` that lets you edit
+ messages by lauching an editor uses the value of this
+ variable when it is set, and the environment variable
+ `GIT_EDITOR` is not set. The order of preference is
+ `GIT_EDITOR` environment, `core.editor`, `EDITOR` and
+ `VISUAL` environment variables and then finally `vi`.
+
core.pager::
The command that git will use to paginate output. Can be overridden
with the `GIT_PAGER` environment variable.
diff --git a/git-commit.html b/git-commit.html
index 0fac2b9c8..f528785bc 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -657,10 +657,12 @@ message when a commit is made to force UTF-8 at the commit
object level, because re-coding to UTF-8 is not necessarily a
reversible operation.
-
-
The command specified by either the VISUAL or EDITOR environment
-variables is used to edit the commit log message.
+
The editor used to edit the commit log message will be chosen from the
+GIT_EDITOR environment variable, the core.editor configuration variable, the
+VISUAL environment variable, or the EDITOR environment variable (in that
+order).