[gitg] Wrap init_repository
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Wrap init_repository
- Date: Wed, 5 Aug 2015 20:02:29 +0000 (UTC)
commit 070f5cea4ed61c04e72000fa68e8ea092a9d1fb9
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Wed Aug 5 22:00:24 2015 +0200
Wrap init_repository
libgitg/gitg-repository.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-repository.vala b/libgitg/gitg-repository.vala
index 4b63add..1ef7d0d 100644
--- a/libgitg/gitg-repository.vala
+++ b/libgitg/gitg-repository.vala
@@ -163,6 +163,11 @@ public class Repository : Ggit.Repository
return base.get_head() as Ref;
}
+ public static new Repository init_repository(File location, bool is_bare) throws Error
+ {
+ return Ggit.Repository.init_repository(location, is_bare) as Repository;
+ }
+
public Stage stage
{
owned get
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]