summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-11-15 10:31:11 -0800
committerVicent Martí <vicent@github.com>2012-11-15 10:31:11 -0800
commit4a0c7f56ab45501ed53e6c0f8d68fa648c4b3dfc (patch)
treeae1097645f4ae0e0faec17340c279d0d0f948bdd /include/git2/diff.h
parent63f7c6f4c8730e6ce1447a1c8b02c23c23d9682b (diff)
parentc0d5acf69a647baa06bd5d8e570105b93b5070e7 (diff)
downloadlibgit2-4a0c7f56ab45501ed53e6c0f8d68fa648c4b3dfc.tar.gz
Merge pull request #1074 from edubart/ignore_diff_filemode
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 3d8e7e776..47bfa5f69 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;
/**