Merge pull request #1597 from zodiac/patch-1

define "long name" in git_reference_name_to_id
This commit is contained in:
Ben Straub 2013-05-21 08:09:17 -07:00
commit e167ec1897

View File

@ -48,7 +48,7 @@ GIT_EXTERN(int) git_reference_lookup(git_reference **out, git_repository *repo,
* *
* @param out Pointer to oid to be filled in * @param out Pointer to oid to be filled in
* @param repo The repository in which to look up the reference * @param repo The repository in which to look up the reference
* @param name The long name for the reference * @param name The long name for the reference (e.g. HEAD, refs/heads/master, refs/tags/v0.1.0, ...)
* @return 0 on success, ENOTFOUND, EINVALIDSPEC or an error code. * @return 0 on success, ENOTFOUND, EINVALIDSPEC or an error code.
*/ */
GIT_EXTERN(int) git_reference_name_to_id( GIT_EXTERN(int) git_reference_name_to_id(