diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-25 10:18:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-25 10:18:37 -0700 |
commit | 1afe6e404453586a1095ce0f3f7e899e62ab237f (patch) | |
tree | 0fd8043b2a0515929db2daf4fd519a1784b85681 /git-cvsexportcommit.perl | |
parent | 664059fb624467975da5c9a4bf6053c83126eaa7 (diff) | |
download | git-1afe6e404453586a1095ce0f3f7e899e62ab237f.tar.gz |
t5801: "VAR=VAL shell_func args" is forbidden
It is not a portable expectation that a single-shot environment
variable assignment works when calling a shell function, not a
command.
Set and export the variable before calling "test_must_fail git push"
instead. This change would not hurt because this is the last
command in the subprocess and the environment will not seep through
to later tests without using a single-shot assignment.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsexportcommit.perl')
0 files changed, 0 insertions, 0 deletions