[libgit2-glib] Set workdir after wrapping repository
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Set workdir after wrapping repository
- Date: Sat, 13 Dec 2014 14:18:26 +0000 (UTC)
commit f44e4545f0d248a216ccba9fa0508021e1f4235d
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Dec 13 15:18:09 2014 +0100
Set workdir after wrapping repository
libgit2-glib/ggit-repository.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index 37b6a99..8eac80c 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -395,6 +395,8 @@ _ggit_repository_wrap (git_repository *repository,
"native", repository,
NULL);
+ ret->priv->workdir = ggit_repository_get_workdir (ret);
+
if (owned)
{
_ggit_native_set_destroy_func (ret,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]