Commit a6ebc2bd by Ben Straub

Introduce GIT_DIFF_FIND_BY_CONFIG

parent cf297c35
...@@ -468,6 +468,9 @@ typedef int (*git_diff_line_cb)( ...@@ -468,6 +468,9 @@ typedef int (*git_diff_line_cb)(
* Flags to control the behavior of diff rename/copy detection. * Flags to control the behavior of diff rename/copy detection.
*/ */
typedef enum { 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`) */ /** Look for renames? (`--find-renames`) */
GIT_DIFF_FIND_RENAMES = (1u << 0), GIT_DIFF_FIND_RENAMES = (1u << 0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment