Skip to content

git_tag_delete doesn't behaves like git tag -d #4806

@Orace

Description

@Orace

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions