Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/more-uses-of-skip-prefix'
[gitweb.git]
/
t
/
t3210-pack-refs.sh
diff --git
a/t/t3210-pack-refs.sh
b/t/t3210-pack-refs.sh
index 1a2080e3dca272b6ed40739a7539f01f4f6ae65c..3a017bf437395526cf54403d4ea1db36a3cff0b3 100755
(executable)
--- a/
t/t3210-pack-refs.sh
+++ b/
t/t3210-pack-refs.sh
@@
-151,4
+151,11
@@
test_expect_success 'delete ref while another dangling packed ref' '
test_cmp /dev/null result
'
+test_expect_success 'pack ref directly below refs/' '
+ git update-ref refs/top HEAD &&
+ git pack-refs --all --prune &&
+ grep refs/top .git/packed-refs &&
+ test_path_is_missing .git/refs/top
+'
+
test_done