summaryrefslogtreecommitdiff
path: root/t/t1416-ref-transaction-hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1416-ref-transaction-hooks.sh')
-rwxr-xr-xt/t1416-ref-transaction-hooks.sh7
1 files changed, 1 insertions, 6 deletions
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