From: Johannes Schindelin Date: Thu, 19 Jul 2007 09:54:12 GMT Subject: Re: [PATCH] Add commit.editor configuration variable Message-ID: In-Reply-To: <7v1wf451fc.fsf@assigned-by-dhcp.cox.net> Hi, On Wed, 18 Jul 2007, Junio C Hamano wrote: > "Shawn O. Pearce" 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