diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-10-06 13:07:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-07 10:05:40 -0700 |
| commit | 6b4f07325d039db5b9a10a9228b4320ac1fc1dab (patch) | |
| tree | 89a866322e0ef3f34f8e5f7d4fd1dad802a61cc8 /string-list.c | |
| parent | 666b29b58f7c95007fe0384737c1ff506b138136 (diff) | |
t7500: fix GIT_EDITOR shell snippet
2140b140 (commit: error out for missing commit message template,
2011-02-25) defined
GIT_EDITOR="echo hello >\"\$1\""
for these two tests, with the intention that 'hello' would be
written in the given file, but as Phillip Wood points out,
GIT_EDITOR is invoked by shell after getting expanded to
sh -c 'echo hello >"$1" "$@"' 'echo hello >"$1"' path/to/file
which is not what we want.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.c')
0 files changed, 0 insertions, 0 deletions
