Re: Bug: git-p4 edit_template() and P4EDITOR w/options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 5, 2015, 00:22 UTC
- Message-ID
- <xmqq8ud3g9ex.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150504231136.GY5467@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 5 quoted lines
> run-command.c does
>
> system(["sh", "-c", ('%s "$@"' % editor), editor, template_file])
>
> to avoid having to figure out how to shell-quote template_file.Yup, thanks.