Code

add -i, send-email, svn, p4, etc: use "git var GIT_EDITOR"
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Oct 2009 01:42:34 +0000 (20:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Nov 2009 20:20:50 +0000 (12:20 -0800)
commitb4479f074760a788dd4e353b8c86a7d735afc53e
tree5680844fb47dd256945296a8466de81a4bfb17ec
parent6361824589bc2d32989a9a33f985d09a368436a3
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>
Documentation/config.txt
Documentation/git-commit.txt
Documentation/git-send-email.txt
contrib/fast-import/git-p4
git-add--interactive.perl
git-send-email.perl
git-sh-setup.sh
git-svn.perl