git notes and core.editor config
- From
Jeenu V <jeenuv@gmail.com>
- Date
- Jan 11, 2011, 10:11 UTC
- Message-ID
- <AANLkTi=0BrBV+DLF_QfDi0mMVdz5tCLFsDMBKvw52nzz@mail.gmail.com>
My core.editor value in $HOME/.gitconfig is set to
[core]
editor = vi "+set tw=72 spell"so that I've text width of 72 with spell check turned on. I haven't found problems with any git commands that invoke editor, but notes. 'git notes' seems to invoke the vi for me with 3 separate arguments instead of just one: "+set, tw=72, and spell". In other words, I don't think it honors shell quoting for editor config variable.
Could this be a bug?
-- Jeenu