summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-04-23 09:27:15 -0700
committerVicent Marti <vicent@github.com>2014-04-23 09:27:15 -0700
commit212b6205d70ff7c0f0f0b1eda6ac964c8d09d431 (patch)
tree9f0215a2324dd26f6e9545c73269cbe9722cab4e /include
parent5ca410b9a9bc30a65ed0125646b3702d5943100b (diff)
parente349ed500b75349b1a525fce60dc08c8d8927ba0 (diff)
downloadlibgit2-212b6205d70ff7c0f0f0b1eda6ac964c8d09d431.tar.gz
Merge pull request #2291 from ethomson/patch_binary
patch: emit deflated binary patches (optionally)
Diffstat (limited to 'include')
-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 e5e641a2a..273f471b6 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;
/**