]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5562-http-backend-content-length.sh
Merge branch 'es/test-cmp-typocatcher'
[thirdparty/git.git] / t / t5562-http-backend-content-length.sh
index 3f4ac71f83b571a61c14b5627d843b73cb244f0e..e5d3d15ba8dddaf98eeabcc909a726c77224afab 100755 (executable)
@@ -62,8 +62,8 @@ test_expect_success 'setup' '
        test_copy_bytes 10 <fetch_body >fetch_body.trunc &&
        hash_next=$(git commit-tree -p HEAD -m next HEAD^{tree}) &&
        {
-               printf "%s %s refs/heads/newbranch\\0report-status\\n" \
-                       "$ZERO_OID" "$hash_next" | packetize &&
+               printf "%s %s refs/heads/newbranch\\0report-status object-format=%s\\n" \
+                       "$ZERO_OID" "$hash_next" "$(test_oid algo)" | packetize &&
                printf 0000 &&
                echo "$hash_next" | git pack-objects --stdout
        } >push_body &&