From: Junio C Hamano Date: Mon, 15 Jul 2013 16:49:41 GMT Subject: Re: [PATCH 1/6] templates: Use heredoc in pre-commit hook Message-ID: <7vli57bwey.fsf@alter.siamese.dyndns.org> In-Reply-To: Richard Hartmann writes: > On Sun, Jul 14, 2013 at 9:20 PM, Junio C Hamano wrote: > >> Shells on modern distros and platforms have "echo" built-in, so this >> patch replaces series of writes internal to the shell with a fork to >> cat with heredoc (which often is implemented with a temporary file). > > True; fwiw, I replaced my one single echo with heredoc as you > suggested I do that. I don't mind undoing that, or I can drop it from > this series altogether. The _real_ reason you wanted to do this change in the context of this series is to make it easier to reword the messages and also have the messages span the full width of the source line, to match the expected output better, isn't it? Git is not _only_ about performance, so even if using "cat <