From: brian m. carlson Date: Tue, 28 Jul 2020 23:34:30 GMT Subject: [PATCH v5 23/39] t9301: make hash size independent Message-ID: <20200728233446.3066485-24-sandals@crustytoothpaste.net> In-Reply-To: <20200728233446.3066485-1-sandals@crustytoothpaste.net> Instead of using a hard-coded all-zeros object ID, use $ZERO_OID. Compute the length of the object IDs in use and use this instead of hard-coding the constant 40. Signed-off-by: brian m. carlson --- t/t9301-fast-import-notes.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/t/t9301-fast-import-notes.sh b/t/t9301-fast-import-notes.sh index ca223dca98..9d1aaac980 100755 --- a/t/t9301-fast-import-notes.sh +++ b/t/t9301-fast-import-notes.sh @@ -71,7 +71,7 @@ EOF INPUT_END test_expect_success 'set up master branch' ' - + test_oid_init && git fast-import >input <