summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2019-12-26 11:57:47 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-15 14:02:32 -0800
commita7fbf12f2f31cb5aefb4fe7f467564be32c62968 (patch)
tree412eaa3d88773a3d2d217c895fb3198fceb6d11a /Documentation/config
parentfetch test: avoid use of "VAR= cmd" with a shell function (diff)
downloadtgif-a7fbf12f2f31cb5aefb4fe7f467564be32c62968.tar.xz
t/check-non-portable-shell: detect "FOO= shell_func", too
Just like assigning a nonempty value, assigning an empty value to a shell variable when calling a function produces non-portable behavior: in some shells, the assignment lasts for the duration of the function invocation, and in others, it persists after the function returns. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
0 files changed, 0 insertions, 0 deletions