author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 31 Oct 2009 01:42:34 +0000 (20:42 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 13 Nov 2009 20:20:50 +0000 (12:20 -0800) | ||
commit | b4479f074760a788dd4e353b8c86a7d735afc53e | |
tree | 5680844fb47dd256945296a8466de81a4bfb17ec | tree | snapshot |
parent | 6361824589bc2d32989a9a33f985d09a368436a3 | commit | diff |
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>
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>