Re: [PATCH 1/6] templates: Use heredoc in pre-commit hook
- From
Richard Hartmann <richih.mailinglist@gmail.com>
- Date
- Jul 14, 2013, 20:12 UTC
- Message-ID
- <CAD77+gSE5GnTcrpoWO0bb2UysDE9t51EWJo3shdeffnaLxASfw@mail.gmail.com>
- In-Reply-To
- <7v1u71gd7r.fsf@alter.siamese.dyndns.org>
On Sun, Jul 14, 2013 at 9:20 PM, Junio C Hamano <gitster@pobox.com> 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.
Guidance would be appreciated. :)
Richard