[libgit2-glib] Fix getting ref name for upstream tracking
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Fix getting ref name for upstream tracking
- Date: Sun, 21 Dec 2014 20:35:37 +0000 (UTC)
commit 612c35297e64a5cadd8a41a23a0941dab3f93278
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Dec 21 21:35:21 2014 +0100
Fix getting ref name for upstream tracking
libgit2-glib/ggit-branch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-branch.c b/libgit2-glib/ggit-branch.c
index 39d100f..a13f150 100644
--- a/libgit2-glib/ggit-branch.c
+++ b/libgit2-glib/ggit-branch.c
@@ -180,7 +180,7 @@ ggit_branch_get_upstream (GgitBranch *branch,
return NULL;
}
- name = git_reference_name (_ggit_native_get (upstream));
+ name = git_reference_name (upstream);
if (g_str_has_prefix (name, "refs/heads/"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]