Reproduction steps
call git_tag_delete on a tag that is not packed and is alone in its folder like .git/refs/tags/Test/Tag1
Expected behavior
the tag is deleted
the empty folder is deleted
Actual behavior
the tag is deleted
the folder is kept empty
Remarks
git tag -d Test/Tag1 will delete the tag and the folder
Version of libgit2 (release number or SHA1)
c1ef58a
Operating system(s) tested
Windows 7
Reproduction steps
call git_tag_delete on a tag that is not packed and is alone in its folder like .git/refs/tags/Test/Tag1
Expected behavior
the tag is deleted
the empty folder is deleted
Actual behavior
the tag is deleted
the folder is kept empty
Remarks
git tag -d Test/Tag1 will delete the tag and the folder
Version of libgit2 (release number or SHA1)
c1ef58a
Operating system(s) tested
Windows 7