Add GIT_EDITOR environment and core.editor configuration variables
commitef0c2abf3e5061f891b7f07953ef3b0695f52c89
authorAdam Roben <aroben@apple.com>
Fri, 20 Jul 2007 05:09:35 +0000 (19 22:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jul 2007 07:46:34 +0000 (20 00:46 -0700)
treea48c4cbea302eb1d41bc1d798c1e85bcc892ea8a
parenta7738c77f1f17ced885ce96e986b948a0b256452
Add GIT_EDITOR environment and core.editor configuration variables

These variables let you specify an editor that will be launched in
preference to the EDITOR and VISUAL environment variables. The order
of preference is GIT_EDITOR, core.editor, EDITOR, VISUAL.

[jc: added a test and config variable documentation]

Signed-off-by: Adam Roben <aroben@apple.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git-commit.txt
Documentation/git-send-email.txt
git-am.sh
git-commit.sh
git-rebase--interactive.sh
git-send-email.perl
git-sh-setup.sh
git-tag.sh
t/t7005-editor.sh [new file with mode: 0755]