From: Catalin Marinas Date: Fri, 22 Jul 2005 21:00:46 GMT Subject: Re: [PATCH 1/1] Tell vim the textwidth is 75. Message-ID: <1122066046.7042.1.camel@localhost.localdomain> In-Reply-To: <20050722192424.GB8556@mars.ravnborg.org> On Fri, 2005-07-22 at 19:24 +0000, Sam Ravnborg wrote: > > I would use a neutral commit template, only that it should have a > > neutral prefix as well for the lines to be removed (neither STG nor CG > > but GIT maybe). The $GIT_DIR/commit-template is fine as a file name. > > How about $GIT_DIR/commit-template-`basename $EDITOR` > Then we could have different templates for vim, emacs, kade etc. I'm not sure this is worth the hassle since a person usually sticks with one editor, I don't see why one would use different $EDITOR variables with the same project. -- Catalin