diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2009-10-30 20:42:34 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-13 12:20:50 -0800 |
commit | b4479f074760a788dd4e353b8c86a7d735afc53e (patch) | |
tree | 5680844fb47dd256945296a8466de81a4bfb17ec /Documentation/config.txt | |
parent | 6361824589bc2d32989a9a33f985d09a368436a3 (diff) | |
download | git-b4479f074760a788dd4e353b8c86a7d735afc53e.tar.gz git-b4479f074760a788dd4e353b8c86a7d735afc53e.tar.xz |
add -i, send-email, svn, p4, etc: use "git var GIT_EDITOR"
Use the new "git var GIT_EDITOR" feature to decide what editor to
use, instead of duplicating its logic elsewhere. This should make
the behavior of commands in edge cases (e.g., editor names with
spaces) a little more consistent.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index d1e2120e1..5181b7762 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -387,9 +387,7 @@ core.editor:: Commands such as `commit` and `tag` that lets you edit messages by launching 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`, `VISUAL` and - `EDITOR` environment variables and then finally `vi`. + `GIT_EDITOR` is not set. See linkgit:git-var[1]. core.pager:: The command that git will use to paginate output. Can |