[libgit2-glib] Fix type of entry stage



commit be4a3bf365249b4bc999fe92e80218a8571138f7
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Wed Jan 1 14:37:15 2014 +0100

    Fix type of entry stage

 libgit2-glib/ggit-index-entry.c |    2 +-
 libgit2-glib/ggit-index-entry.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-index-entry.c b/libgit2-glib/ggit-index-entry.c
index 1c20fe3..4f871d3 100644
--- a/libgit2-glib/ggit-index-entry.c
+++ b/libgit2-glib/ggit-index-entry.c
@@ -232,7 +232,7 @@ ggit_index_entries_get_by_index (GgitIndexEntries *entries,
 GgitIndexEntry *
 ggit_index_entries_get_by_path (GgitIndexEntries *entries,
                                 GFile            *file,
-                                gboolean          stage)
+                                gint              stage)
 {
        git_index *gidx;
        const git_index_entry *entry;
diff --git a/libgit2-glib/ggit-index-entry.h b/libgit2-glib/ggit-index-entry.h
index 01c4070..0f4935e 100644
--- a/libgit2-glib/ggit-index-entry.h
+++ b/libgit2-glib/ggit-index-entry.h
@@ -45,7 +45,7 @@ GgitIndexEntry   *ggit_index_entries_get_by_index     (GgitIndexEntries  *entrie
 
 GgitIndexEntry   *ggit_index_entries_get_by_path      (GgitIndexEntries *entries,
                                                        GFile            *file,
-                                                       gboolean          stage);
+                                                       gint              stage);
 
 guint             ggit_index_entries_size             (GgitIndexEntries  *entries);
 


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