aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-02 09:13:51 -0800
committerJunio C Hamano <gitster@pobox.com>2024-03-02 10:21:10 -0800
commit381a83dfa3aaf221fcf5776c302520029ee3590a (patch)
tree563d5d51d37bda9b5b7ac97eb68a9a61b2c8766b
parent0d464a4e6a5a19bd8fbea1deae22d48d14dccb01 (diff)
downloadgit-381a83dfa3aaf221fcf5776c302520029ee3590a.tar.xz
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 <gitster@pobox.com>
-rw-r--r--t/test-lib-functions.sh3
1 files changed, 1 insertions, 2 deletions
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 () {