diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-04-05 17:08:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-05 22:48:12 -0700 |
commit | 7e3a9c23d670347454c6b95e3e6448c9d77fbdc4 (patch) | |
tree | 21a412a04d64ca48be41e83679dcb8f03458531c /builtin/commit.c | |
parent | 19981daefd7c147444462739375462b49412ce33 (diff) |
CodingGuidelines: describe "export VAR=VAL" rule
https://lore.kernel.org/git/201307081121.22769.tboegi@web.de/
resulted in 9968ffff (test-lint: detect 'export FOO=bar',
2013-07-08) to add a rule to t/check-non-portable-shell.pl script to
reject
export VAR=VAL
and suggest us to instead write it as two statements, i.e.,
VAR=VAL
export VAR
This however was not spelled out in the CodingGuidelines document.
We may want to re-evaluate the rule since it is from ages ago, but
for now, let's make the written rule and what the automation
enforces consistent.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions