[libgit2-glib] git_merge: fix their_heads_length parameter



commit 5ff739b4b3475e2d1b2567d91ad26f3638246021
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Wed Feb 26 10:20:45 2020 +0100

    git_merge: fix their_heads_length parameter

 libgit2-glib/ggit-repository.c | 2 +-
 libgit2-glib/ggit-repository.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index 4273bd0..68fdb31 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -4025,7 +4025,7 @@ ggit_repository_note_foreach (GgitRepository    *repository,
 void
 ggit_repository_merge (GgitRepository       *repository,
                        GgitAnnotatedCommit **their_heads,
-                       gsize                *their_heads_length,
+                       gsize                 their_heads_length,
                        GgitMergeOptions     *merge_opts,
                        GgitCheckoutOptions  *checkout_opts,
                        GError              **error)
diff --git a/libgit2-glib/ggit-repository.h b/libgit2-glib/ggit-repository.h
index 0b3c7ca..e522e0d 100644
--- a/libgit2-glib/ggit-repository.h
+++ b/libgit2-glib/ggit-repository.h
@@ -507,7 +507,7 @@ gboolean            ggit_repository_path_is_ignored    (GgitRepository
 
 void                ggit_repository_merge              (GgitRepository          *repository,
                                                         GgitAnnotatedCommit    **their_heads,
-                                                        gsize                   *their_heads_length,
+                                                        gsize                    their_heads_length,
                                                         GgitMergeOptions        *merge_opts,
                                                         GgitCheckoutOptions     *checkout_opts,
                                                         GError                 **error);


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