diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-04-05 17:08:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-05 22:50:05 -0700 |
commit | be34b51049d1628d1ba4f17e3c087fd01f15f988 (patch) | |
tree | 6f70d7df5dfc64073b598f131f30ca4c092acd48 /builtin/commit-tree.c | |
parent | 7e3a9c23d670347454c6b95e3e6448c9d77fbdc4 (diff) |
CodingGuidelines: quote assigned value in 'local var=$val'
Dash bug https://bugs.launchpad.net/ubuntu/+source/dash/+bug/139097
lets the shell erroneously perform field splitting on the expansion
of a command substitution during declaration of a local or an extern
variable.
The explanation was stolen from ebee5580 (parallel-checkout: avoid
dash local bug in tests, 2021-06-06).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions