summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-12-04 15:17:39 -0800
committerBen Straub <bs@github.com>2013-12-05 08:11:00 -0800
commita6ebc2bdb314543a1fdf25f523f8793f4f52b8b3 (patch)
tree9b3f707b46b2e73674f229ed2b9133fe20846992 /include/git2/diff.h
parentcf297c353fee12316ed647a0e60185f312788446 (diff)
downloadlibgit2-a6ebc2bdb314543a1fdf25f523f8793f4f52b8b3.tar.gz
Introduce GIT_DIFF_FIND_BY_CONFIG
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 db6bce2eb..312702bc2 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -468,6 +468,9 @@ typedef int (*git_diff_line_cb)(
* Flags to control the behavior of diff rename/copy detection.
*/
typedef enum {
+ /** Obey `diff.renames`. This is overridden by any other GIT_DIFF_FIND_ALL flag. */
+ GIT_DIFF_FIND_BY_CONFIG = 0,
+
/** Look for renames? (`--find-renames`) */
GIT_DIFF_FIND_RENAMES = (1u << 0),