aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5527-fetch-odd-refs.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5527-fetch-odd-refs.sh')
-rwxr-xr-xt/t5527-fetch-odd-refs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t5527-fetch-odd-refs.sh b/t/t5527-fetch-odd-refs.sh
index 98ece27c6a..d3996af6ee 100755
--- a/t/t5527-fetch-odd-refs.sh
+++ b/t/t5527-fetch-odd-refs.sh
@@ -52,7 +52,8 @@ test_expect_success LONG_REF 'fetch handles extremely long refname' '
long
main
EOF
- git for-each-ref --format="%(subject)" refs/remotes/long >actual &&
+ git for-each-ref --format="%(subject)" refs/remotes/long \
+ --exclude=refs/remotes/long/HEAD >actual &&
test_cmp expect actual
'