diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-09-03 11:04:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-05 14:05:12 -0700 |
commit | 4ff89ee52cd3cf6e38a11bb94e43df1b53c56eec (patch) | |
tree | b0db9808799b9d2f55e04df1a4c25ba5e461106c /compat/inet_pton.c | |
parent | treewide: rename 'struct exclude_list' to 'struct pattern_list' (diff) | |
download | tgif-4ff89ee52cd3cf6e38a11bb94e43df1b53c56eec.tar.xz |
treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'
The first consumer of pattern-matching filenames was the
.gitignore feature. In that context, storing a list of patterns
as a 'struct exclude_list' makes sense. However, the
sparse-checkout feature then adopted these structures and methods,
but with the opposite meaning: these patterns match the files
that should be included!
It would be clearer to rename this entire library as a "pattern
matching" library, and the callers apply exclusion/inclusion
logic accordingly based on their needs.
This commit replaces 'EXCL_FLAG_' to 'PATTERN_FLAG_' in the
names of the flags used on 'struct path_pattern'.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/inet_pton.c')
0 files changed, 0 insertions, 0 deletions