summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index d26456cb0..40e65b1e4 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -148,6 +148,9 @@ typedef enum {
* Of course, ignore rules are still checked for the directory itself.
*/
GIT_DIFF_FAST_UNTRACKED_DIRS = (1 << 19),
+
+ /** Treat all files as binary, disabling text diffs */
+ GIT_DIFF_FORCE_BINARY = (1 << 20),
} git_diff_option_t;
/**