t1302: expect repo format version 1 for SHA-256
authorbrian m. carlson <redacted>
Mon, 25 May 2020 19:59:13 +0000 (19:59 +0000)
committerJunio C Hamano <redacted>
Wed, 27 May 2020 17:07:07 +0000 (10:07 -0700)
commit059d8066f843a09c615be2b7c7e42fd393852ed6
treecab9e706229a750af00851e15751604e6be1d37b
parent88a09a557c7571760b3ded75764bf3b1fd0e8bf0
t1302: expect repo format version 1 for SHA-256

When using SHA-256, we need to take advantage of the extensions section
in the config file, so we need to use repository format version 1.
Update the test to look for the correct value.

Note that test_oid produces a value without a trailing newline, so use
echo to ensure we print a trailing newline to compare it correctly
against the actual results.

Signed-off-by: brian m. carlson <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1302-repo-version.sh
git clone https://git.99rst.org/PROJECT