Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-05-21 19:09:17 +0400
committerBen Straub <bs@github.com>2013-05-21 19:09:17 +0400
commite167ec18971eb56199666d952ba79f4f5e883418 (patch)
tree516b4e96532835180be7293a19cf7db1da5ab449
parentfc74343ff45187528e674712f7e858b95718edd6 (diff)
parente069478edc1711e92c25eb26b82370f37775142b (diff)
Merge pull request #1597 from zodiac/patch-1
define "long name" in git_reference_name_to_id
-rw-r--r--include/git2/refs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index fa9958369..468d0f930 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -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 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.
*/
GIT_EXTERN(int) git_reference_name_to_id(