git_repository_set_head: use tag name in reflog
When `git_repository_set_head` is provided a tag reference, update the reflog with the tag name, like we do with a branch. This helps consumers match the semantics of `git checkout tag`.
Showing
Please
register
or
sign in
to comment