Re: [PATCH 20/24] t5703: make test work with SHA-256
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jan 13, 2020, 13:53 UTC
- Message-ID
- <CAPig+cS3w=9zqSsVOQ3NtA_ESes6H6KGwwi9R+S3h53JpWgkFg@mail.gmail.com>
- In-Reply-To
- <20200113123857.3684632-21-sandals@crustytoothpaste.net>
On Mon, Jan 13, 2020 at 7:41 AM brian m. carlson <sandals@crustytoothpaste.net> wrote:
Show 10 quoted lines
> diff --git a/t/t5703-upload-pack-ref-in-want.sh b/t/t5703-upload-pack-ref-in-want.sh
> @@ -19,7 +19,7 @@ get_actual_commits () {
> git verify-pack -v o.idx >objs &&
> - grep commit objs | cut -c-40 | sort >actual_commits
> + grep commit objs | cut -d" " -f1 | sort >actual_commits
> }
> @@ -37,6 +37,7 @@ check_output () {
> test_expect_success 'setup repository' '
> + test_oid_init &&
> test_commit a &&I think this `test_oid_init` is supposed to be introduced in patch 21/24, not here in 20/24 for which it serves no purpose.