summaryrefslogtreecommitdiff
path: root/t/t7064-wtstatus-pv2.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-09-03 11:04:55 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-05 14:05:11 -0700
commitab8db61390afd803ddd9778f84ba4c28dfa975c6 (patch)
tree43a69a6ac199ec6fe7521e3a52f14277fa197052 /t/t7064-wtstatus-pv2.sh
parentlist-objects-filter-options: make parser void (diff)
downloadtgif-ab8db61390afd803ddd9778f84ba4c28dfa975c6.tar.xz
treewide: rename 'struct exclude' to 'struct path_pattern'
The first consumer of pattern-matching filenames was the .gitignore feature. In that context, storing a list of patterns as a list of 'struct exclude' items 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 renames 'struct exclude' to 'struct path_pattern' and renames several variable names to match. 'struct pattern' was already taken by attr.c, and this more completely describes that the patterns are specific to file paths. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7064-wtstatus-pv2.sh')
0 files changed, 0 insertions, 0 deletions