summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-09-03 12:29:18 -0700
committerVicent Martí <vicent@github.com>2013-09-03 12:29:18 -0700
commit6208bd499b1d3dc1a106a35c499e92c3f8f3d238 (patch)
tree38761cfbcaf4de35694d8d9bd7c8ec9a50508c9b /include/git2
parent37fc44ddff9d8d41e3a8c29c8ce06a253a6bc20f (diff)
parent17c7fbf6d276443344c54f55800367b9837c0259 (diff)
downloadlibgit2-6208bd499b1d3dc1a106a35c499e92c3f8f3d238.tar.gz
Merge pull request #1804 from ethomson/rewrites
Minor changes for rewrites
Diffstat (limited to 'include/git2')
-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 c989ba4ee..596098574 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -454,6 +454,9 @@ typedef enum {
GIT_DIFF_FIND_DONT_IGNORE_WHITESPACE = (1 << 13),
/** measure similarity only by comparing SHAs (fast and cheap) */
GIT_DIFF_FIND_EXACT_MATCH_ONLY = (1 << 14),
+
+ /** do not break rewrites unless they contribute to a rename */
+ GIT_DIFF_BREAK_REWRITES_FOR_RENAMES_ONLY = (1 << 15),
} git_diff_find_t;
/**