"brian m. carlson" <sandals@xxxxxxxxxxxxxxxxxxxx> writes: > This test used an object ID which was 40 hex characters in length, > causing the test not only not to pass, but to hang, when run with > SHA-256 as the hash. Change this value to a fixed dummy object ID using > test_oid_init and test_oid. Has the above part been split into another patch? > Furthermore, ensure we extract an object ID of the appropriate length > using cut with fields instead of a fixed length. This one makes sense. > Signed-off-by: brian m. carlson <sandals@xxxxxxxxxxxxxxxxxxxx> > --- > t/t5703-upload-pack-ref-in-want.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/t/t5703-upload-pack-ref-in-want.sh b/t/t5703-upload-pack-ref-in-want.sh > index 1424fabd4a..5511cdcec2 100755 > --- 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 () { > }' <out | test-tool pkt-line unpack-sideband >o.pack && > git index-pack o.pack && > 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 > } > > check_output () {