diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-08-31 19:41:43 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-08-31 19:41:43 -0400 |
commit | 53c2296bfed972026809803415944b4dd4eff6d3 (patch) | |
tree | fbf99265581f5d2570152b70ed75b31bc40cc09a /include/git2/diff.h | |
parent | 03210cfa00d9fe4cd4cc236253b0d590c0d994cc (diff) | |
download | libgit2-53c2296bfed972026809803415944b4dd4eff6d3.tar.gz |
iterator: better document GIT_DIFF_DISABLE_PATHSPEC_MATCH
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r-- | include/git2/diff.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index 491212182..a0f6db350 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -129,10 +129,12 @@ typedef enum { */ GIT_DIFF_INCLUDE_CASECHANGE = (1u << 11), - /** If the pathspec is set in the diff options, this flags means to - * use exact prefix matches instead of an fnmatch pattern. Each - * path in the list must either be a full filename or a subdirectory - * prefix. + /** If the pathspec is set in the diff options, this flags indicates + * that the paths will be treated as literal paths instead of + * fnmatch patterns. Each path in the list must either be a full + * path to a file or a directory. (A trailing slash indicates that + * the path will _only_ match a directory). If a directory is + * specified, all children will be included. */ GIT_DIFF_DISABLE_PATHSPEC_MATCH = (1u << 12), |