Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Repository#rev_parse_oid in Repository#create_branch
This is the purpose-built API to lookup an arbitrary treeish, and since git_lookup_reference() returns a new error code, it messed up the original two-stage lookup.
- Loading branch information