X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=t%2Ft1416-ref-transaction-hooks.sh;fp=t%2Ft1416-ref-transaction-hooks.sh;h=4e1e84a91f365b1a625273a552a87ddb937be1b6;hb=2ed1b64ebdeefc7f9473ae159fb45ff0c6cf121a;hp=f9d3d5213f8992860062aea1431170d1264f496d;hpb=ffad9941383465553bf26d88050f3243726f30df;p=thirdparty%2Fgit.git diff --git a/t/t1416-ref-transaction-hooks.sh b/t/t1416-ref-transaction-hooks.sh index f9d3d5213f..4e1e84a91f 100755 --- a/t/t1416-ref-transaction-hooks.sh +++ b/t/t1416-ref-transaction-hooks.sh @@ -175,16 +175,11 @@ test_expect_success 'deleting packed ref calls hook once' ' git update-ref -d refs/heads/to-be-deleted $POST_OID && # We only expect a single hook invocation, which is the logical - # deletion. But currently, we see two interleaving transactions, once - # for deleting the loose refs and once for deleting the packed ref. + # deletion. cat >expect <<-EOF && - prepared - $ZERO_OID $ZERO_OID refs/heads/to-be-deleted prepared $POST_OID $ZERO_OID refs/heads/to-be-deleted committed - $ZERO_OID $ZERO_OID refs/heads/to-be-deleted - committed $POST_OID $ZERO_OID refs/heads/to-be-deleted EOF