[libgit2-glib] docs: add missing commit get_nth_ancestor method
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] docs: add missing commit get_nth_ancestor method
- Date: Mon, 1 Apr 2013 09:11:46 +0000 (UTC)
commit c4fc58f17e103a7cca51da57dae14726dd31394b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 1 11:11:24 2013 +0200
docs: add missing commit get_nth_ancestor method
docs/reference/libgit2-glib-1.0-sections.txt | 1 +
libgit2-glib/ggit-commit.c | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/libgit2-glib-1.0-sections.txt b/docs/reference/libgit2-glib-1.0-sections.txt
index 82a367e..95f4c5d 100644
--- a/docs/reference/libgit2-glib-1.0-sections.txt
+++ b/docs/reference/libgit2-glib-1.0-sections.txt
@@ -82,6 +82,7 @@ ggit_commit_parents_get
ggit_commit_parents_get_id
ggit_commit_get_tree
ggit_commit_get_tree_id
+ggit_commit_get_nth_ancestor
<SUBSECTION Standard>
GGIT_COMMIT
GGIT_COMMIT_CLASS
diff --git a/libgit2-glib/ggit-commit.c b/libgit2-glib/ggit-commit.c
index 11e3e88..8d479cf 100644
--- a/libgit2-glib/ggit-commit.c
+++ b/libgit2-glib/ggit-commit.c
@@ -453,11 +453,11 @@ ggit_commit_get_tree_id (GgitCommit *commit)
/**
* ggit_commit_get_nth_ancestor:
- * @commit: a #GgitCommit
- * @n: the requested ancestor
+ * @commit: a #GgitCommit.
+ * @n: the requested ancestor.
* @error: a #GError for error reporting, or %NULL.
*
- * Gets the commit object that is the <n>th generation ancestor
+ * Gets the commit object that is the n-th generation ancestor
* of the named commit object, following only the first parents.
* Passing %0 to the @n parameter returns another instance of @commit.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]