On Mon, Nov 22, 2021 at 11:44 PM Bagas Sanjaya [off-list ref] wrote:
On 22/11/21 21.20, Han-Wen Nienhuys via GitGitGadget wrote:
quoted
From: Han-Wen Nienhuys <redacted>
Before, --reflog option would look for '\t' in the reflog message. As refs.c
already parses the reflog line, the '\t' was never found, and show-branch
--reflog would always say "(none)" as reflog message
Add test.
Add what the test?
quoted
+# arbitrary reference time: 2009-08-30 19:20:00
+GIT_TEST_DATE_NOW=1251660000; export GIT_TEST_DATE_NOW
+
Why don't you use oneliner `export GIT_TEST_DATE_NOW=1251660000`?
t/check-non-portable-shell.pl will flag this construct and throw an
error if you put that in your test script.