t5516: test pushing a tag of an otherwise unreferenced blob
commit458a7e508c57afb6bbd4177fead21c63a0a20131
authorJeff King <peff@peff.net>
Fri, 17 Oct 2014 00:03:41 +0000 (16 20:03 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Oct 2014 22:07:06 +0000 (19 15:07 -0700)
treeea3f56279c025288d7b4675c9450c18ec52d83a5
parent207394908e9465d0169608725aeaa5bb355086e0
t5516: test pushing a tag of an otherwise unreferenced blob

It's not unreasonable to have a tag that points to a blob
that is not part of the normal history. We do this in
git.git to distribute gpg keys. However, we never explicitly
checked in our test suite that this actually works (i.e.,
that pack-objects actually sends the blob because of the tag
mentioning it).

It does in fact work fine, but a recent patch under
discussion broke this, and the test suite didn't notice.
Let's make the test suite more complete.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh