]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'es/shell-check-updates'
authorJunio C Hamano <gitster@pobox.com>
Thu, 8 Aug 2024 17:41:18 +0000 (10:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Aug 2024 17:41:18 +0000 (10:41 -0700)
commitc2058b2a85987e0f184fac7403dd430f2de76692
treee45de3025ade93ceb101f80a63f6da37ff7ecc93
parentd70f3208bc77a4daf3d269cd9579a1df135b7dc6
parent7b9e54714a1c0b6f284cc7d8241e9ea25d149476
Merge branch 'es/shell-check-updates'

Test script linter has been updated to catch an attempt to use
one-shot export construct "VAR=VAL func" for shell functions (which
does not work for some shells) better.

* es/shell-check-updates:
  check-non-portable-shell: improve `VAR=val shell-func` detection
  check-non-portable-shell: suggest alternative for `VAR=val shell-func`
  check-non-portable-shell: loosen one-shot assignment error message
  t4034: fix use of one-shot variable assignment with shell function
  t3430: drop unnecessary one-shot "VAR=val shell-func" invocation