Subject: Re: [PATCH 1/2] pretty tests: simplify %aI/%cI date format test

From: Junio C Hamano <[email-masked]>
Date: Tue, 27 Apr 2021 16:08:44 +0900

Ævar Arnfjörð Bjarmason  <[email-masked]> writes:

>  # ISO strict date format
>  test_expect_success 'ISO and ISO-strict date formats display the same values' '
> -	git log --format=%ai%n%ci |
> -	sed -e "s/ /T/; s/ //; s/..\$/:&/" >expected &&
> +	git log --format=%ad%n%cd --date=iso-strict >expected &&
>  	git log --format=%aI%n%cI >actual &&

While these two must show the same output, I wonder how much value
we are getting out of them.  Don't they end up exercising pretty
much the same codepath?

Not that I think the original is any better at all, though ;-)

>  	test_cmp expected actual
>  '