[libgit2-glib] repository: treebuilder_create was changed to treebuilder_new
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] repository: treebuilder_create was changed to treebuilder_new
- Date: Sun, 18 Jan 2015 15:09:49 +0000 (UTC)
commit a63a3307fe0a935ac2c47f9f21f56af8fb8ab076
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Jan 18 16:09:29 2015 +0100
repository: treebuilder_create was changed to treebuilder_new
libgit2-glib/ggit-repository.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index 49c77f7..822d1fb 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -2560,7 +2560,10 @@ ggit_repository_create_tree_builder (GgitRepository *repository)
g_return_val_if_fail (GGIT_IS_REPOSITORY (repository), NULL);
- git_treebuilder_create (&builder, NULL);
+ git_treebuilder_new (&builder,
+ _ggit_native_get (repository),
+ NULL);
+
return _ggit_tree_builder_wrap (builder, repository, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]