]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/test-i18ngrep'
authorJunio C Hamano <gitster@pobox.com>
Thu, 14 Mar 2024 21:05:24 +0000 (14:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Mar 2024 21:05:24 +0000 (14:05 -0700)
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

t/test-lib-functions.sh

index b5eaf7fdc1186d4420388c355e794bfdba783f2f..6eaf116346be3ee52d2094715ac979aa059093c5 100644 (file)
@@ -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 () {