aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib-functions.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-14 14:05:24 -0700
committerJunio C Hamano <gitster@pobox.com>2024-03-14 14:05:24 -0700
commitedae49e3c0dc66f8918bcc0b4f3317c640ebd98a (patch)
tree4c185ef2f080058bc19a9c95519b166a4be657ea /t/test-lib-functions.sh
parentMerge branch 'gt/core-bare-in-templates' (diff)
parenttest_i18ngrep: hard deprecate and forbid its use (diff)
downloadgit-edae49e3c0dc66f8918bcc0b4f3317c640ebd98a.tar.gz
git-edae49e3c0dc66f8918bcc0b4f3317c640ebd98a.zip
Merge branch 'jc/test-i18ngrep'
With release 2.44 we got rid of all uses of test_i18ngrep and there is no in-flight topic that adds a new use of it. Make a call to test_i18ngrep a hard failure, so that we can remove it at the end of this release cycle. * jc/test-i18ngrep: test_i18ngrep: hard deprecate and forbid its use
Diffstat (limited to 't/test-lib-functions.sh')
-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 b5eaf7fdc1..6eaf116346 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 () {