aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-11-27 07:57:10 +0900
committerJunio C Hamano <gitster@pobox.com>2024-11-27 07:57:10 +0900
commit4a611ee7ebd2269b6f4711efd18adc811631af9f (patch)
treef17d51524d26956ee9fbc3cd502b930b43221038 /t
parent1f3d9b981465a8320878c725d2dd5924f452e786 (diff)
parentb886db48c61bdfb817f29482e18120c4fa2bc89c (diff)
downloadgit-4a611ee7ebd2269b6f4711efd18adc811631af9f.tar.gz
Merge branch 'kn/ref-transaction-hook-with-reflog'
The ref-transaction hook triggered for reflog updates, which has been corrected. * kn/ref-transaction-hook-with-reflog: refs: don't invoke reference-transaction hook for reflogs
Diffstat (limited to 't')
-rwxr-xr-xt/t1416-ref-transaction-hooks.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/t1416-ref-transaction-hooks.sh b/t/t1416-ref-transaction-hooks.sh
index 5a812ca3c0..262efec60e 100755
--- a/t/t1416-ref-transaction-hooks.sh
+++ b/t/t1416-ref-transaction-hooks.sh
@@ -53,7 +53,6 @@ test_expect_success 'hook gets all queued updates in prepared state' '
fi
EOF
cat >expect <<-EOF &&
- $ZERO_OID $POST_OID HEAD
$ZERO_OID $POST_OID refs/heads/main
EOF
git update-ref HEAD POST <<-EOF &&
@@ -76,7 +75,6 @@ test_expect_success 'hook gets all queued updates in committed state' '
fi
EOF
cat >expect <<-EOF &&
- $ZERO_OID $POST_OID HEAD
$ZERO_OID $POST_OID refs/heads/main
EOF
git update-ref HEAD POST &&