libgit2/libgit2 — pull request #903 by nulltoken (2012-08-27 16:10:41+00:00)
Title: branch: reduce code duplication

Make `git_branch_create()` leverage `git_object_peel()` to dereference the target into a `git_commit`.