summaryrefslogtreecommitdiff
path: root/t/t3900-i18n-commit.sh
diff options
context:
space:
mode:
authorLibravatar Marco Trevisan (Treviño) <mail@3v1n0.net>2020-05-26 19:13:17 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-05-28 09:15:18 -0700
commita44a0a9fc4353ff4ccd4b2308db2844d7f4185f9 (patch)
tree325bc33d2fdc9030f5c93e79a0d4733fff450ed6 /t/t3900-i18n-commit.sh
parentGit 2.27-rc2 (diff)
downloadtgif-a44a0a9fc4353ff4ccd4b2308db2844d7f4185f9.tar.xz
completion: use native ZSH array pattern matching
When clearing the builtin operations on re-sourcing in the ZSH case we can use the native ${parameters} associative array keys values to get the currently `__gitcomp_builtin_*` operations using pattern matching instead of using sed. As also stated in commit 94408dc7, introducing this change the usage of sed has some overhead implications, while ZSH can do this check just using its native syntax. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3900-i18n-commit.sh')
0 files changed, 0 insertions, 0 deletions