[libgit2-glib] Do not allow setting NULL workdir for repository
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Do not allow setting NULL workdir for repository
- Date: Tue, 10 Jul 2012 15:32:59 +0000 (UTC)
commit 126ebcbfd2c98fe69e04af438499590d21683de3
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Jul 10 17:32:45 2012 +0200
Do not allow setting NULL workdir for repository
libgit2-glib/ggit-repository.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index 96dd8ca..3d6b44f 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -137,10 +137,6 @@ set_workdir (GgitRepository *repository,
g_free (path);
}
}
- else if (_ggit_native_get (repository))
- {
- git_repository_set_workdir (_ggit_native_get (repository), NULL);
- }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]