Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: [PATCH] Add commit.infodisplay option to give message editor empty file

From: Jeff King <hidden>
Date: 2016-06-15 22:47:50

On Sat, Dec 05, 2009 at 06:09:03PM -0500, James P. Howard, II wrote:
On Sat, Dec 05, 2009 at 11:28:27AM -0500, Jeff King wrote:
quoted
If the latter, I think we would be better served by an option to simply
turn off the template. Then that is also helpful for the case of people
using decent editors, but who don't want to waste the CPU time on
generating the template information (which can be substantial for things
like media repositories).
Actually, I find this a reasonable solution for both cases and would be
willing to reimplment my change this way, as it meets my needs and would
be useful to others.  The only question I have is, what should variable/
command line option be called?
I would be tempted to call it "--no-template", but I think that is too
confusing. The "--template" option is not really about the git-generated
template, but about a user-defined template that goes on top of the
git-generated one (I would have expected --template=/dev/null to do what
you want, too, but it retains the git template).

Probably "--no-status" would be a good name, as the generated template
is the format generated by "git status".

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help