From: Junio C Hamano Date: Sat, 2 Mar 2024 17:13:51 +0000 (-0800) Subject: test_i18ngrep: hard deprecate and forbid its use X-Git-Tag: v2.45.0-rc0~111^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=381a83dfa3aaf221fcf5776c302520029ee3590a;p=thirdparty%2Fgit.git test_i18ngrep: hard deprecate and forbid its use Since v2.44.0-rc0~109 (Merge branch 'sp/test-i18ngrep', 2023-12-27) none of the tests we have, either in 'master' or in flight and collected in 'seen', use test_i18ngrep. Perhaps it is good time to update test_i18ngrep to BUG to avoid people adding new calls to it. Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 5eb57914ab..4e6eda05c4 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -1263,9 +1263,8 @@ test_cmp_bin () { cmp "$@" } -# Deprecated - do not use this in new code test_i18ngrep () { - test_grep "$@" + BUG "do not use test_i18ngrep---use test_grep instead" } test_grep () {