summaryrefslogtreecommitdiff
path: root/t/t7407-submodule-foreach.sh
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-11-13 16:52:15 -0800
committerJunio C Hamano <gitster@pobox.com>2019-11-21 09:40:08 +0900
commit8cb7980382855f9f696924fec70ed88ea6895030 (patch)
treedd437c011da88939162a68d4dc431ebb5c0eda55 /t/t7407-submodule-foreach.sh
parentda72936f544fec5a335e66432610e4cef4430991 (diff)
downloadgit-8cb7980382855f9f696924fec70ed88ea6895030.tar.gz
t0000: test multiple local assignment
According to POSIX enhancement request '0000767: Add built-in "local"'[1], dash only allows one variable in a local definition; it permits assignment though it doesn't document that clearly. however, this isn't true since t0000 still passes with this patch applied on dash 0.5.10.2. Needless to say, since `local` isn't POSIX standardized, it is not exactly clear what `local` entails on different versions of different shells. We currently already have many instances of multiple local assignments in our codebase. Ensure that this is actually supported by explicitly testing that it is sane. [1]: http://austingroupbugs.net/bug_view_page.php?bug_id=767 Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7407-submodule-foreach.sh')
0 files changed, 0 insertions, 0 deletions