[libgit2-glib] GIT_REVWALKOVER was renamed to GIT_ITEROVER



commit 251dcf28ef951bb5708391e861c2048369092469
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Sep 29 13:17:09 2012 +0200

    GIT_REVWALKOVER was renamed to GIT_ITEROVER

 libgit2-glib/ggit-revision-walker.c |    2 +-
 libgit2-glib/ggit-submodule.c       |    2 +-
 libgit2-glib/ggit-types.c           |    2 +-
 libgit2-glib/ggit-types.h           |    5 ++---
 4 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/libgit2-glib/ggit-revision-walker.c b/libgit2-glib/ggit-revision-walker.c
index 80ffa94..118ed08 100644
--- a/libgit2-glib/ggit-revision-walker.c
+++ b/libgit2-glib/ggit-revision-walker.c
@@ -312,7 +312,7 @@ ggit_revision_walker_next (GgitRevisionWalker  *walker,
 	{
 		goid = _ggit_oid_new (&oid);
 	}
-	else if (ret != GIT_REVWALKOVER)
+	else if (ret != GIT_ITEROVER)
 	{
 		_ggit_error_set (error, ret);
 	}
diff --git a/libgit2-glib/ggit-submodule.c b/libgit2-glib/ggit-submodule.c
index 18c8e4c..dc4d2f3 100644
--- a/libgit2-glib/ggit-submodule.c
+++ b/libgit2-glib/ggit-submodule.c
@@ -141,7 +141,7 @@ ggit_submodule_get_url (GgitSubmodule *submodule)
 GgitOId *
 ggit_submodule_get_index_oid (GgitSubmodule *submodule)
 {
-	GgitOID *oid = NULL;
+	GgitOId *oid = NULL;
 
 	g_return_val_if_fail (submodule != NULL, NULL);
 
diff --git a/libgit2-glib/ggit-types.c b/libgit2-glib/ggit-types.c
index 95940c2..19333c2 100644
--- a/libgit2-glib/ggit-types.c
+++ b/libgit2-glib/ggit-types.c
@@ -84,7 +84,7 @@ ASSERT_ENUM (GGIT_ERROR_EXISTS,      GIT_EEXISTS);
 ASSERT_ENUM (GGIT_ERROR_AMBIGUOUS,   GIT_EAMBIGUOUS);
 ASSERT_ENUM (GGIT_ERROR_BUFS,        GIT_EBUFS);
 ASSERT_ENUM (GGIT_ERROR_PASSTHROUGH, GIT_PASSTHROUGH);
-ASSERT_ENUM (GGIT_ERROR_REVWALKOVER, GIT_REVWALKOVER);
+ASSERT_ENUM (GGIT_ERROR_ITEROVER,    GIT_ITEROVER);
 
 
 ASSERT_ENUM (GGIT_REF_INVALID,  GIT_REF_INVALID);
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index e03f06f..9e88457 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -383,8 +383,7 @@ typedef enum {
  * @GGIT_ERROR_AMBIGUOUS: The given error is ambiguous.
  * @GGIT_ERROR_BUFS: The buffer is too short.
  * @GGIT_ERROR_PASSTHROUGH: Skip and passthrough the given ODB backend.
- * @GGIT_ERROR_REVWALKOVER: The revision walker is empty; there
- *                          are no more commits left to iterate.
+ * @GGIT_ERROR_ITEROVER: The iteration has finished.
  *
  * Error codes for the %GGIT_ERROR error domain.
  */
@@ -395,7 +394,7 @@ typedef enum {
 	GGIT_ERROR_AMBIGUOUS   = -5,
 	GGIT_ERROR_BUFS        = -6,
 	GGIT_ERROR_PASSTHROUGH = -30,
-	GGIT_ERROR_REVWALKOVER = -31
+	GGIT_ERROR_ITEROVER    = -31
 } GgitError;
 
 /* NOTE: keep in sync with git2/refs.h */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]