diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2024-07-27 01:35:06 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-26 22:49:40 -0700 |
commit | 5e91056a1b0d38c6b2149c2c3a72198720a1867f (patch) | |
tree | 6683015750079806bca789923002719f1f72b6dc /builtin/commit-graph.c | |
parent | a26d7004f73abb1005acd98114faec3aa75f5090 (diff) |
t4034: fix use of one-shot variable assignment with shell function
The behavior of a one-shot environment variable assignment of the form
"VAR=val cmd" is unspecified according to POSIX when "cmd" is a shell
function. Indeed the behavior differs between shell implementations and
even different versions of the same shell, thus should be avoided.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions