Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use git_revparse_single to resolve the rev to checkout
Unlike the previous git_reference_name_to_oid, this supports branch names, tags, trees, shas, etc. instead of just symbolic refs. Note that this function requires a libgit2 newer that 0.17 (i.e., this requires libgit2 from git).
- Loading branch information
1 parent
a505b4d
commit e2f3e19
Showing
1 changed file
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters