summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorEduardo Bart <edub4rt@gmail.com>2012-11-15 14:43:21 -0200
committerEduardo Bart <edub4rt@gmail.com>2012-11-15 14:59:39 -0200
commitc0d5acf69a647baa06bd5d8e570105b93b5070e7 (patch)
tree5c203d38a72f21fa6231a4db5e4b86f494ac16d0 /include/git2/diff.h
parent5a36f127808c7b470eef17b1a8a130dde0cc64a1 (diff)
downloadlibgit2-c0d5acf69a647baa06bd5d8e570105b93b5070e7.tar.gz
Add option to ignore file mode in diffs
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 9b11f169b..6396aaa02 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -86,6 +86,8 @@ typedef enum {
* mode set to tree. Note: the tree SHA will not be available.
*/
GIT_DIFF_INCLUDE_TYPECHANGE_TREES = (1 << 16),
+ /** Ignore file mode changes */
+ GIT_DIFF_IGNORE_FILEMODE = (1 << 17),
} git_diff_option_t;
/**