Commit 53c2296b by Edward Thomson

iterator: better document GIT_DIFF_DISABLE_PATHSPEC_MATCH

parent 03210cfa
...@@ -129,10 +129,12 @@ typedef enum { ...@@ -129,10 +129,12 @@ typedef enum {
*/ */
GIT_DIFF_INCLUDE_CASECHANGE = (1u << 11), GIT_DIFF_INCLUDE_CASECHANGE = (1u << 11),
/** If the pathspec is set in the diff options, this flags means to /** If the pathspec is set in the diff options, this flags indicates
* use exact prefix matches instead of an fnmatch pattern. Each * that the paths will be treated as literal paths instead of
* path in the list must either be a full filename or a subdirectory * fnmatch patterns. Each path in the list must either be a full
* prefix. * 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), GIT_DIFF_DISABLE_PATHSPEC_MATCH = (1u << 12),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment