[libgit2-glib] Add missing GGIT_DIFF_SHOW_BINARY diff option



commit 81ef19d76817756d884b33433b97c1e73ad6c2bc
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat Aug 8 11:32:42 2015 +0200

    Add missing GGIT_DIFF_SHOW_BINARY diff option

 libgit2-glib/ggit-types.c |    1 +
 libgit2-glib/ggit-types.h |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-types.c b/libgit2-glib/ggit-types.c
index 03abbb3..f676299 100644
--- a/libgit2-glib/ggit-types.c
+++ b/libgit2-glib/ggit-types.c
@@ -83,6 +83,7 @@ ASSERT_ENUM (GGIT_DIFF_SHOW_UNTRACKED_CONTENT,     GIT_DIFF_SHOW_UNTRACKED_CONTE
 ASSERT_ENUM (GGIT_DIFF_SHOW_UNMODIFIED,            GIT_DIFF_SHOW_UNMODIFIED);
 ASSERT_ENUM (GGIT_DIFF_PATIENCE,                   GIT_DIFF_PATIENCE);
 ASSERT_ENUM (GGIT_DIFF_MINIMAL,                    GIT_DIFF_MINIMAL);
+ASSERT_ENUM (GGIT_DIFF_SHOW_BINARY,                GIT_DIFF_SHOW_BINARY);
 
 ASSERT_ENUM (GGIT_DIFF_FLAG_VALID_ID,   GIT_DIFF_FLAG_VALID_ID);
 ASSERT_ENUM (GGIT_DIFF_FLAG_BINARY,     GIT_DIFF_FLAG_BINARY);
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index 32dd01b..5b2b204 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -410,6 +410,7 @@ typedef enum {
  * @GGIT_DIFF_SHOW_UNMODIFIED: show unmodified files.
  * @GGIT_DIFF_PATIENCE: generate using the "patience diff" algorithm.
  * @GGIT_DIFF_MINIMAL: take extra time to find minimal diff.
+ * @GGIT_DIFF_SHOW_BINARY: include deflate/delta information for binary files.
  *
  * How the diff should be generated.
  */
@@ -441,7 +442,8 @@ typedef enum {
        GGIT_DIFF_SHOW_UNMODIFIED            = 1u << 26,
 
        GGIT_DIFF_PATIENCE                   = 1u << 28,
-       GGIT_DIFF_MINIMAL                    = 1u << 29
+       GGIT_DIFF_MINIMAL                    = 1u << 29,
+       GGIT_DIFF_SHOW_BINARY                = 1u << 30
 } GgitDiffOption;
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]