t: remove \{m,n\} from BRE grep usage
commita764c37bad6b4da2b248c30af1c251110fe1e031
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Wed, 21 Sep 2022 13:02:30 +0000 (21 20:02 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 18:00:18 +0000 (21 11:00 -0700)
treebc1a7f42558e8f676e731094adb179e9f27f8c5e
parent2e092725e6f73d20080c3a71c0d8e234f266cb8d
t: remove \{m,n\} from BRE grep usage

The CodingGuidelines says we should avoid \{m,n\} in BRE usage.
And their usages in our code base is limited, and subjectively
hard to read.

Replace them with ERE.

Except for "0\{40\}" which would be changed to "$ZERO_OID",
which is a better value for testing with:
GIT_TEST_DEFAULT_HASH=sha256

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh
t/t3305-notes-fanout.sh
t/t3404-rebase-interactive.sh
t/t5550-http-fetch-dumb.sh
t/t5702-protocol-v2.sh