From: brian m. carlson Date: Sun, 26 Jul 2020 19:54:08 GMT Subject: [PATCH v4 23/39] t9301: make hash size independent Message-ID: <20200726195424.626969-24-sandals@crustytoothpaste.net> In-Reply-To: <20200726195424.626969-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 <