diff options
author | Ben Straub <bs@github.com> | 2013-12-04 15:17:39 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-12-05 08:11:00 -0800 |
commit | a6ebc2bdb314543a1fdf25f523f8793f4f52b8b3 (patch) | |
tree | 9b3f707b46b2e73674f229ed2b9133fe20846992 /include/git2/diff.h | |
parent | cf297c353fee12316ed647a0e60185f312788446 (diff) | |
download | libgit2-a6ebc2bdb314543a1fdf25f523f8793f4f52b8b3.tar.gz |
Introduce GIT_DIFF_FIND_BY_CONFIG
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r-- | include/git2/diff.h | 3 |
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), |