]> git.ipfire.org Git - thirdparty/git.git/commit
t: convert fgrep usage to "grep -F"
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Wed, 21 Sep 2022 13:02:32 +0000 (20:02 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 18:00:19 +0000 (11:00 -0700)
commit37eb90f79a97cfeb216c7afe7bb0f129edfc10e4
tree31d04055a6031a10be96db504e1330e8397d3531
parent81580fa06d85ef519a46b0b225cebfe71c168a37
t: convert fgrep usage to "grep -F"

Despite POSIX states that:

> The old egrep and fgrep commands are likely to be supported for many
> years to come as implementation extensions, allowing historical
> applications to operate unmodified.

GNU grep 3.8 started to warn[1]:

> The egrep and fgrep commands, which have been deprecated since
> release 2.5.3 (2007), now warn that they are obsolescent and should
> be replaced by grep -E and grep -F.

Prepare for their removal in the future.

[1]: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3700-add.sh
t/t7003-filter-branch.sh
t/t9133-git-svn-nested-git-repo.sh
t/t9134-git-svn-ignore-paths.sh
t/t9140-git-svn-reset.sh
t/t9147-git-svn-include-paths.sh