summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2014-04-22 14:58:33 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-04-22 19:08:21 -0500
commite349ed500b75349b1a525fce60dc08c8d8927ba0 (patch)
tree94feff27cae54ceeff8a8920923f1ca573d7833f /include/git2/diff.h
parent28750a7d98ce5e23bac5c1d119109ded8e8aab73 (diff)
downloadlibgit2-e349ed500b75349b1a525fce60dc08c8d8927ba0.tar.gz
patch: emit binary patches (optionally)
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index a0cfbc918..bc8b250c3 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -180,6 +180,10 @@ typedef enum {
/** Take extra time to find minimal diff */
GIT_DIFF_MINIMAL = (1 << 29),
+ /** Include the necessary deflate / delta information so that `git-apply`
+ * can apply given diff information to binary files.
+ */
+ GIT_DIFF_SHOW_BINARY = (1 << 30),
} git_diff_option_t;
/**