Re: [PATCH] Add commit.editor configuration variable
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 19, 2007, 09:54 UTC
- Message-ID
- <Pine.LNX.4.64.0707191053230.14781@racer.site>
- In-Reply-To
- <7v1wf451fc.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 18 Jul 2007, Junio C Hamano wrote:
Show 11 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes: > > > We only launch an editor for three reasons: commit messages, tag > > messages and git-rebase -i. If we were to ever add a new editor > > using thingy, odds are the user would want the same editor by > > default for that too. > > > > So please, core.editor, and also use it in git-rebase--interactive. > > Ah, add "git-am -i" to the mix. Potentially, git-notes would > use it as well.
Now with so many commands in the lot, how about putting the code into git-sh-setup, into a function "get_editor()"?
Ciao, Dscho