[libgit2-glib] Fix getting native oid in ggit_ref_create_reflog



commit fc73c627dfc6eb7d994ab6bdf505b718ed9767d4
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jul 5 13:37:15 2013 +0200

    Fix getting native oid in ggit_ref_create_reflog

 libgit2-glib/ggit-ref.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-ref.c b/libgit2-glib/ggit-ref.c
index fb859c1..3764634 100644
--- a/libgit2-glib/ggit-ref.c
+++ b/libgit2-glib/ggit-ref.c
@@ -480,7 +480,7 @@ ggit_ref_create_reflog (GgitRef        *ref,
        g_return_val_if_fail (error == NULL || *error == NULL, NULL);
 
        ret = git_reflog_append (_ggit_native_get (ref),
-                                _ggit_native_get (oid),
+                                _ggit_oid_get_oid (oid),
                                 _ggit_native_get (committer),
                                 message);
 


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