]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4205-log-pretty-formats.sh
pretty tests: simplify %aI/%cI date format test
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 25 Apr 2021 09:11:32 +0000 (11:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Apr 2021 07:05:56 +0000 (16:05 +0900)
commitfbfcaec8d82adf9994a88a49e9b12f2ecffc4626
tree2f44101d18cb3414709e6e9e4bc5233db7ceea93
parent311531c9de557d25ac087c1637818bd2aad6eb3a
pretty tests: simplify %aI/%cI date format test

Change a needlessly complex test for the %aI/%cI date
formats (iso-strict) added in 466fb6742d7 (pretty: provide a strict
ISO 8601 date format, 2014-08-29) to instead use the same pattern used
to test %as/%cs since 0df621172d8 (pretty: provide short date format,
2019-11-19).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4205-log-pretty-formats.sh