head.c
13.7 KB
-
git_repository_set_head: use tag name in reflog · ea3bb5c0
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`.
Edward Thomson committed