Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Orace opened this issue Sep 12, 2018 · 1 comment
Closed

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

Orace opened this issue Sep 12, 2018 · 1 comment

Comments

@Orace
Copy link

Orace commented Sep 12, 2018

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

@Orace Orace changed the title git_tag_delete doesn't behavior like git tag -d git_tag_delete doesn't behaves like git tag -d Sep 12, 2018
@csware
Copy link
Contributor

csware commented Jan 9, 2019

This issue is fixed by PR#4833.

@ethomson ethomson closed this as completed Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants