]> git.phdru.name Git - dotfiles.git/commit
.gitconfig: use `git var GIT_EDITOR`
authorOleg Broytman <phd@phdru.name>
Thu, 4 Aug 2016 23:37:45 +0000 (02:37 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 4 Aug 2016 23:42:35 +0000 (02:42 +0300)
commite7cba5ec6fb24efc7c22343b964754cd5adeb90f
tree12c40de59bb7317f386c423dff5819c303859e4f
parentc90188e29a7c71520940280cf5e2ed517ba219a0
.gitconfig: use `git var GIT_EDITOR`

`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.
.gitconfig