[libgit2-glib] Add GgitRemoteDownloadTagsType
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Add GgitRemoteDownloadTagsType
- Date: Wed, 20 Mar 2013 10:27:13 +0000 (UTC)
commit 1bdaf1a7dc2436f435ff29e03273f18b71b5bfc6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Mar 20 10:54:30 2013 +0100
Add GgitRemoteDownloadTagsType
libgit2-glib/ggit-types.c | 5 +++++
libgit2-glib/ggit-types.h | 15 +++++++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-types.c b/libgit2-glib/ggit-types.c
index bb531a6..7e83d2b 100644
--- a/libgit2-glib/ggit-types.c
+++ b/libgit2-glib/ggit-types.c
@@ -27,6 +27,7 @@
#include <git2/config.h>
#include <git2/stash.h>
#include <git2/reset.h>
+#include <git2/remote.h>
#include "ggit-types.h"
@@ -98,6 +99,10 @@ ASSERT_ENUM (GGIT_FILEMODE_BLOB_EXECUTABLE, GIT_FILEMODE_BLOB_EXECUTABLE);
ASSERT_ENUM (GGIT_FILEMODE_LINK, GIT_FILEMODE_LINK);
ASSERT_ENUM (GGIT_FILEMODE_COMMIT, GIT_FILEMODE_COMMIT);
+ASSERT_ENUM (GGIT_REMOTE_DOWNLOAD_TAGS_UNSET, GIT_REMOTE_DOWNLOAD_TAGS_UNSET);
+ASSERT_ENUM (GGIT_REMOTE_DOWNLOAD_TAGS_NONE, GIT_REMOTE_DOWNLOAD_TAGS_NONE);
+ASSERT_ENUM (GGIT_REMOTE_DOWNLOAD_TAGS_AUTO, GIT_REMOTE_DOWNLOAD_TAGS_AUTO);
+ASSERT_ENUM (GGIT_REMOTE_DOWNLOAD_TAGS_ALL, GIT_REMOTE_DOWNLOAD_TAGS_ALL);
ASSERT_ENUM (GGIT_REF_INVALID, GIT_REF_INVALID);
ASSERT_ENUM (GGIT_REF_OID, GIT_REF_OID);
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index 2d2aa33..4afe367 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -438,6 +438,21 @@ typedef enum {
/* NOTE: keep in sync with git2/refs.h */
/**
+ * GgitRemoteDownloadTagsType:
+ * @GGIT_REMOTE_DOWNLOAD_TAGS_UNSET:
+ * @GGIT_REMOTE_DOWNLOAD_TAGS_NONE:
+ * @GGIT_REMOTE_DOWNLOAD_TAGS_AUTO:
+ * @GGIT_REMOTE_DOWNLOAD_TAGS_ALL:
+ */
+typedef enum {
+ GGIT_REMOTE_DOWNLOAD_TAGS_UNSET,
+ GGIT_REMOTE_DOWNLOAD_TAGS_NONE,
+ GGIT_REMOTE_DOWNLOAD_TAGS_AUTO,
+ GGIT_REMOTE_DOWNLOAD_TAGS_ALL
+} GgitRemoteDownloadTagsType;
+
+/* NOTE: keep in sync with git2/refs.h */
+/**
* GgitRefType:
* @GGIT_REF_INVALID: An invalid reference.
* @GGIT_REF_OID: A reference which points at an object id.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]