]> git.phdru.name Git - git-scripts.git/commitdiff
Use `git var GIT_EDITOR` to call editor
authorOleg Broytman <phd@phdru.name>
Thu, 4 Aug 2016 23:44:29 +0000 (02:44 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 4 Aug 2016 23:44:29 +0000 (02:44 +0300)
`git var GIT_EDITOR` is better than ${VISUAL:-${EDITOR:-vi}} because
it takes into account all variables: GIT_EDITOR, VISUAL and EDITOR,
and falls back to the platform's default.


No differences found