diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-04-05 17:08:59 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-05 22:50:10 -0700 |
| commit | 341aad8d41ca8321d826e1ce012e4faf1a8be2a4 (patch) | |
| tree | 03549339b89260e4d5c3650ac78da77d63f301b8 /builtin/commit.c | |
| parent | CodingGuidelines: quote assigned value in 'local var=$val' (diff) | |
| download | git-341aad8d41ca8321d826e1ce012e4faf1a8be2a4.tar.gz git-341aad8d41ca8321d826e1ce012e4faf1a8be2a4.zip | |
t: local VAR="VAL" (quote positional parameters)
Future-proof test scripts that do
local VAR=VAL
without quoting VAL (which is OK in POSIX but broken in some shells)
that is a positional parameter, e.g. $4.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
