summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authoryorah <yoram.harmelin@gmail.com>2012-07-23 18:16:09 +0200
committeryorah <yoram.harmelin@gmail.com>2012-07-24 14:03:09 +0200
commita1773f9d89887d299248d15b43953d3fa494a025 (patch)
tree4b204fca95ff0e11766eb3d570c919874d9908db /include/git2/diff.h
parentffbc689c8768c66cddf9ef3ab6c88c41ecf4c1ab (diff)
downloadlibgit2-a1773f9d89887d299248d15b43953d3fa494a025.tar.gz
Add flag to turn off pathspec testing for diff and status
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index edec9957b..85727d969 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -46,6 +46,7 @@ enum {
GIT_DIFF_INCLUDE_UNTRACKED = (1 << 8),
GIT_DIFF_INCLUDE_UNMODIFIED = (1 << 9),
GIT_DIFF_RECURSE_UNTRACKED_DIRS = (1 << 10),
+ GIT_DIFF_DISABLE_PATHSPEC_MATCH = (1 << 11),
};
/**