Skip to content

Commit

Permalink
Merge branch 'jc/test-i18ngrep'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Mar 14, 2024
2 parents 272fd91 + 381a83d commit edae49e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/test-lib-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit edae49e

Please sign in to comment.