Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git var GIT_EDITOR to call editor #18

Merged
merged 1 commit into from
Aug 5, 2016

Conversation

phdru
Copy link
Contributor

@phdru phdru commented Aug 4, 2016

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.

`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.
@joelparkerhenderson joelparkerhenderson merged commit fc7d2c2 into GitAlias:master Aug 5, 2016
@joelparkerhenderson
Copy link
Member

Perfect improvement; thank you!

@phdru phdru deleted the editor branch August 5, 2016 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants