From c0d5acf69a647baa06bd5d8e570105b93b5070e7 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Thu, 15 Nov 2012 14:43:21 -0200 Subject: Add option to ignore file mode in diffs --- include/git2/diff.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/git2/diff.h') 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; /** -- cgit v1.2.1