DescriptionMake git-cl more accurately imitate git's editor selection process, and respect $VISUAL.
It is somewhat surprising when git-cl, which acts as a git subcommand, launches
a different editor. In particular, git has a config option (core.editor) which
specifies the editor that should be used. Since we already respect $GIT_EDITOR,
it makes sense for git-cl to respect core.editor and $VISUAL as well.
R=maruel@chromium.org
BUG=237504
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=198101
Patch Set 1 #
Total comments: 3
Patch Set 2 : Remove dumb terminal detection #Patch Set 3 : added to README.git-cl #Patch Set 4 : Move comment to gclient_utils.py and clarify. #Patch Set 5 : Rebase #Patch Set 6 : Make tests use $GIT_EDITOR instead of $EDITOR (previously they failed for me, as $EDITOR was overriā¦ #
Messages
Total messages: 14 (0 generated)
|