X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=t%2Ft3210-pack-refs.sh;h=f0c7e22b36c66234e2a46bac659506afb454dfa7;hb=95655d79ad13697e0d68e986d3b0b402efad007a;hp=16bdae4f2377cd93a509ff0c74ac62cc00f0b619;hpb=38ebbacd93eb547b3608b64a2efc60fd79e1ea85;p=git.git diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh index 16bdae4f2..f0c7e22b3 100755 --- a/t/t3210-pack-refs.sh +++ b/t/t3210-pack-refs.sh @@ -96,4 +96,13 @@ test_expect_success \ git-branch -d n/o/p && git-branch n' +test_expect_success 'pack, prune and repack' ' + git-tag foo && + git-pack-refs --all --prune && + git-show-ref >all-of-them && + git-pack-refs && + git-show-ref >again && + diff all-of-them again +' + test_done