diff options
author | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 08:57:11 -0700 |
---|---|---|
committer | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 09:00:42 -0700 |
commit | 9cc654ccb69324c7ab9cd67d8a92f9641b3f77b4 (patch) | |
tree | 9bf2d904fa0768353d29325e6d2352195898d8a1 /plumbing/object/difftree.go | |
parent | b19b3b84745ea2e2af13a859ff7943c6de20fe4e (diff) | |
download | go-git-9cc654ccb69324c7ab9cd67d8a92f9641b3f77b4.tar.gz |
git: Add some tests for annotated tag deletion
Added a couple of tests for annotated tag deletion:
* The first one is a general test and should work regardless of the
fixture used - the tag object could possibly be packed, so we do a prune
*and* a repack operation before testing to see if the object was GCed
correctly.
* The second one actually creates the tag to be deleted, so that the tag
object gets created as a loose, unpacked object. This is so we can
effectively test that purning unpacked objects is now working 100%
correctly (this was failing before because tag objects were not
supported for walking).
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
Diffstat (limited to 'plumbing/object/difftree.go')
0 files changed, 0 insertions, 0 deletions