head.c
13.9 KB
-
git_repository_set_head: use remote name in reflog · e86d02f9
When `git_repository_set_head` is provided a remote reference, update the reflog with the tag name, like we do with a branch. This helps consumers match the semantics of `git checkout remote`.
Edward Thomson committed