[libgit2-glib] Added new status options
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Added new status options
- Date: Fri, 28 Jun 2013 16:54:19 +0000 (UTC)
commit 9348173077b583bdc0cc9a6224caa27478a8c2c4
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Jun 28 18:41:42 2013 +0200
Added new status options
libgit2-glib/ggit-types.c | 4 ++++
libgit2-glib/ggit-types.h | 8 ++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/libgit2-glib/ggit-types.c b/libgit2-glib/ggit-types.c
index 4aa651b..7f2f018 100644
--- a/libgit2-glib/ggit-types.c
+++ b/libgit2-glib/ggit-types.c
@@ -166,6 +166,10 @@ ASSERT_ENUM (GGIT_STATUS_OPTION_EXCLUDE_SUBMODULES, GIT_STATUS_OPT_EXCLUDE_SUBMO
ASSERT_ENUM (GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS, GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS);
ASSERT_ENUM (GGIT_STATUS_OPTION_DISABLE_PATHSPEC_MATCH, GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH);
ASSERT_ENUM (GGIT_STATUS_OPTION_RECURSE_IGNORED_DIRS, GIT_STATUS_OPT_RECURSE_IGNORED_DIRS);
+ASSERT_ENUM (GGIT_STATUS_OPTION_RENAMES_HEAD_TO_INDEX, GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX);
+ASSERT_ENUM (GGIT_STATUS_OPTION_RENAMES_INDEX_TO_WORKDIR, GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR);
+ASSERT_ENUM (GGIT_STATUS_OPTION_SORT_CASE_INSENSITIVELY, GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY);
+ASSERT_ENUM (GGIT_STATUS_OPTION_SORT_CASE_SENSITIVELY, GIT_STATUS_OPT_SORT_CASE_SENSITIVELY);
ASSERT_ENUM (GGIT_STATUS_OPTION_DEFAULT, GIT_STATUS_OPT_DEFAULTS);
ASSERT_ENUM (GGIT_STATUS_SHOW_INDEX_AND_WORKDIR, GIT_STATUS_SHOW_INDEX_AND_WORKDIR);
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index ca8fec9..9cdce96 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -684,6 +684,12 @@ typedef enum {
* GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS: search untracked directories recursively (default).
* GGIT_STATUS_OPTION_DISABLE_PATHSPEC_MATCH: do not match path specifications.
* GGIT_STATUS_OPTION_RECURSE_IGNORED_DIRS: search ignored directories recursively.
+ * GGIT_STATUS_OPTION_RENAMES_HEAD_TO_INDEX: indicates that rename detection
+ * should be processed between the head and the index and enables
+ * the GIT_STATUS_INDEX_RENAMED as a possible status flag.
+ * GGIT_STATUS_OPTION_RENAMES_INDEX_TO_WORKDIR: indicates tha rename
+ * detection should be run between the index and the working directory
+ * and enabled GIT_STATUS_WT_RENAMED as a possible status flag.
* GGIT_STATUS_OPTION_SORT_CASE_SENSITIVELY: sort case sensitive.
* GGIT_STATUS_OPTION_SORT_CASE_INSENSITIVELY: sort case insensitive.
* GGIT_STATUS_OPTION_DEFAULT: default flags.
@@ -699,6 +705,8 @@ typedef enum {
GGIT_STATUS_OPTION_RECURSE_UNTRACKED_DIRS = (1 << 4),
GGIT_STATUS_OPTION_DISABLE_PATHSPEC_MATCH = (1 << 5),
GGIT_STATUS_OPTION_RECURSE_IGNORED_DIRS = (1 << 6),
+ GGIT_STATUS_OPTION_RENAMES_HEAD_TO_INDEX = (1 << 7),
+ GGIT_STATUS_OPTION_RENAMES_INDEX_TO_WORKDIR = (1 << 8),
GGIT_STATUS_OPTION_SORT_CASE_SENSITIVELY = (1 << 9),
GGIT_STATUS_OPTION_SORT_CASE_INSENSITIVELY = (1 << 10),
GGIT_STATUS_OPTION_DEFAULT = GGIT_STATUS_OPTION_INCLUDE_IGNORED |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]