git-commit-vandalism/Documentation/RelNotes
Derrick Stolee 65edd96aec treewide: rename 'exclude' methods to 'pattern'
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 renames several methods defined in dir.h to make
more sense with the renamed 'struct exclude_list' to 'struct
pattern_list' and 'struct exclude' to 'struct path_pattern':

 * last_exclude_matching() -> last_matching_pattern()
 * parse_exclude() -> parse_path_pattern()

In addition, the word 'exclude' was replaced with 'pattern'
in the methods below:

 * add_exclude_list()
 * add_excludes_from_file_to_list()
 * add_excludes_from_file()
 * add_excludes_from_blob_to_list()
 * add_exclude()
 * clear_exclude_list()

A few methods with the word "exclude" remain. These will
be handled seperately. In particular, the method
"is_excluded()" is concretely about the .gitignore file
relative to a specific directory. This is the important
boundary between library and consumer: is_excluded() cares
about .gitignore, but is_excluded() calls
last_matching_pattern() to make that decision.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-09-05 14:05:12 -07:00
..
1.5.0.1.txt
1.5.0.2.txt
1.5.0.3.txt
1.5.0.4.txt
1.5.0.5.txt
1.5.0.6.txt
1.5.0.7.txt
1.5.0.txt
1.5.1.1.txt
1.5.1.2.txt
1.5.1.3.txt
1.5.1.4.txt
1.5.1.5.txt
1.5.1.6.txt
1.5.1.txt
1.5.2.1.txt
1.5.2.2.txt
1.5.2.3.txt
1.5.2.4.txt
1.5.2.5.txt
1.5.2.txt
1.5.3.1.txt
1.5.3.2.txt
1.5.3.3.txt
1.5.3.4.txt
1.5.3.5.txt
1.5.3.6.txt
1.5.3.7.txt
1.5.3.8.txt
1.5.3.txt
1.5.4.1.txt
1.5.4.2.txt
1.5.4.3.txt
1.5.4.4.txt
1.5.4.5.txt
1.5.4.6.txt
1.5.4.7.txt
1.5.4.txt
1.5.5.1.txt
1.5.5.2.txt
1.5.5.3.txt
1.5.5.4.txt
1.5.5.5.txt Documentation: move RelNotes into a directory of their own 2010-09-06 17:41:18 -07:00
1.5.5.6.txt
1.5.5.txt
1.5.6.1.txt
1.5.6.2.txt
1.5.6.3.txt
1.5.6.4.txt
1.5.6.5.txt
1.5.6.6.txt
1.5.6.txt
1.6.0.1.txt
1.6.0.2.txt
1.6.0.3.txt
1.6.0.4.txt
1.6.0.5.txt
1.6.0.6.txt
1.6.0.txt
1.6.1.1.txt
1.6.1.2.txt
1.6.1.3.txt
1.6.1.4.txt
1.6.1.txt
1.6.2.1.txt
1.6.2.2.txt
1.6.2.3.txt
1.6.2.4.txt
1.6.2.5.txt
1.6.2.txt
1.6.3.1.txt
1.6.3.2.txt Documentation: move RelNotes into a directory of their own 2010-09-06 17:41:18 -07:00
1.6.3.3.txt
1.6.3.4.txt
1.6.3.txt
1.6.4.1.txt
1.6.4.2.txt
1.6.4.3.txt
1.6.4.4.txt
1.6.4.5.txt
1.6.4.txt
1.6.5.1.txt
1.6.5.2.txt
1.6.5.3.txt
1.6.5.4.txt
1.6.5.5.txt
1.6.5.6.txt
1.6.5.7.txt
1.6.5.8.txt
1.6.5.9.txt
1.6.5.txt
1.6.6.1.txt
1.6.6.2.txt
1.6.6.3.txt
1.6.6.txt Documentation: move RelNotes into a directory of their own 2010-09-06 17:41:18 -07:00
1.7.0.1.txt
1.7.0.2.txt Documentation: move RelNotes into a directory of their own 2010-09-06 17:41:18 -07:00
1.7.0.3.txt
1.7.0.4.txt
1.7.0.5.txt
1.7.0.6.txt
1.7.0.7.txt
1.7.0.8.txt
1.7.0.9.txt
1.7.0.txt
1.7.1.1.txt
1.7.1.2.txt
1.7.1.3.txt
1.7.1.4.txt
1.7.1.txt
1.7.2.1.txt Documentation: move RelNotes into a directory of their own 2010-09-06 17:41:18 -07:00
1.7.2.2.txt
1.7.2.3.txt
1.7.2.4.txt
1.7.2.5.txt
1.7.2.txt
1.7.3.1.txt
1.7.3.2.txt
1.7.3.3.txt
1.7.3.4.txt
1.7.3.5.txt
1.7.3.txt
1.7.4.1.txt
1.7.4.2.txt
1.7.4.3.txt
1.7.4.4.txt
1.7.4.5.txt
1.7.4.txt
1.7.5.1.txt
1.7.5.2.txt
1.7.5.3.txt
1.7.5.4.txt
1.7.5.txt
1.7.6.1.txt
1.7.6.2.txt
1.7.6.3.txt
1.7.6.4.txt
1.7.6.5.txt
1.7.6.6.txt
1.7.6.txt
1.7.7.1.txt
1.7.7.2.txt
1.7.7.3.txt
1.7.7.4.txt Git 1.7.7.4 2011-11-18 11:28:05 -08:00
1.7.7.5.txt
1.7.7.6.txt
1.7.7.7.txt
1.7.7.txt Documentation: AsciiDoc spells em-dash as double-dashes, not triple 2015-10-22 13:02:33 -07:00
1.7.8.1.txt
1.7.8.2.txt
1.7.8.3.txt
1.7.8.4.txt
1.7.8.5.txt
1.7.8.6.txt
1.7.8.txt
1.7.9.1.txt
1.7.9.2.txt
1.7.9.3.txt
1.7.9.4.txt
1.7.9.5.txt
1.7.9.6.txt
1.7.9.7.txt Git 1.7.9.7 2012-04-26 10:23:15 -07:00
1.7.9.txt
1.7.10.1.txt Spelling fixes 2017-06-27 10:35:49 -07:00
1.7.10.2.txt
1.7.10.3.txt
1.7.10.4.txt
1.7.10.5.txt
1.7.10.txt
1.7.11.1.txt
1.7.11.2.txt
1.7.11.3.txt
1.7.11.4.txt
1.7.11.5.txt Git 1.7.11.5 2012-08-15 13:39:53 -07:00
1.7.11.6.txt
1.7.11.7.txt doc: fix typos in documentation and release notes 2018-06-19 09:01:12 -07:00
1.7.11.txt
1.7.12.1.txt
1.7.12.2.txt
1.7.12.3.txt
1.7.12.4.txt
1.7.12.txt
1.8.0.1.txt
1.8.0.2.txt
1.8.0.3.txt
1.8.0.txt
1.8.1.1.txt
1.8.1.2.txt
1.8.1.3.txt
1.8.1.4.txt
1.8.1.5.txt
1.8.1.6.txt
1.8.1.txt
1.8.2.1.txt
1.8.2.2.txt
1.8.2.3.txt
1.8.2.txt
1.8.3.1.txt Documentation: match undefline with the text in old release notes 2015-10-22 10:16:17 -07:00
1.8.3.2.txt
1.8.3.3.txt Git 1.8.3.3 2013-07-15 10:39:43 -07:00
1.8.3.4.txt Update draft release notes to 1.8.3.4 2013-07-21 23:03:19 -07:00
1.8.3.txt
1.8.4.1.txt Documentation: match undefline with the text in old release notes 2015-10-22 10:16:17 -07:00
1.8.4.2.txt Documentation: match undefline with the text in old release notes 2015-10-22 10:16:17 -07:00
1.8.4.3.txt Documentation: match undefline with the text in old release notes 2015-10-22 10:16:17 -07:00
1.8.4.4.txt Documentation: match undefline with the text in old release notes 2015-10-22 10:16:17 -07:00
1.8.4.5.txt
1.8.4.txt
1.8.5.1.txt
1.8.5.2.txt
1.8.5.3.txt
1.8.5.4.txt
1.8.5.5.txt
1.8.5.6.txt Git 1.8.5.6 2014-12-17 11:18:45 -08:00
1.8.5.txt
1.9.0.txt Documentation: AsciiDoc spells em-dash as double-dashes, not triple 2015-10-22 13:02:33 -07:00
1.9.1.txt
1.9.2.txt
1.9.3.txt
1.9.4.txt
1.9.5.txt Git 1.9.5 2014-12-17 11:22:32 -08:00
2.0.0.txt
2.0.1.txt Git 2.0.1 2014-06-25 12:21:11 -07:00
2.0.2.txt Git 2.0.2 2014-07-16 11:19:56 -07:00
2.0.3.txt Git 2.0.3 2014-07-23 11:33:16 -07:00
2.0.4.txt Git 2.0.4 2014-07-30 14:19:53 -07:00
2.0.5.txt Git 2.0.5 2014-12-17 11:30:46 -08:00
2.1.0.txt Release notes: grammatical fixes 2014-08-07 09:44:05 -07:00
2.1.1.txt Git 2.1.1 2014-09-19 14:21:31 -07:00
2.1.2.txt Git 2.1.2 2014-09-29 22:15:00 -07:00
2.1.3.txt Git 2.1.3 2014-10-29 10:48:45 -07:00
2.1.4.txt Git 2.1.4 2014-12-17 11:44:59 -08:00
2.2.0.txt RelNotes: spelling & grammar tweaks 2014-11-26 13:18:04 -08:00
2.2.1.txt Git 2.2.1 2014-12-17 11:49:34 -08:00
2.2.2.txt Git 2.2.2 2015-01-12 14:06:12 -08:00
2.2.3.txt Git 2.2.3 2015-09-04 10:26:23 -07:00
2.3.0.txt Git 2.3 2015-02-05 13:23:56 -08:00
2.3.1.txt Git 2.3.1 2015-02-24 22:14:42 -08:00
2.3.2.txt 2.3.2 release notes: typofix 2015-03-28 09:29:29 -07:00
2.3.3.txt Git 2.3.3 2015-03-13 22:57:25 -07:00
2.3.4.txt Git 2.3.4 2015-03-23 11:27:27 -07:00
2.3.5.txt Git 2.3.5 2015-03-31 14:57:10 -07:00
2.3.6.txt Git 2.3.6 2015-04-21 12:17:09 -07:00
2.3.7.txt Git 2.3.7 2015-04-27 12:25:36 -07:00
2.3.8.txt Git 2.3.8 2015-05-11 14:36:31 -07:00
2.3.9.txt Git 2.3.9 2015-09-04 10:32:15 -07:00
2.3.10.txt Spelling fixes 2016-08-11 14:35:42 -07:00
2.4.0.txt RelNotes: wordsmithing 2015-04-23 11:32:08 -07:00
2.4.1.txt Git 2.4.1 2015-05-13 14:11:43 -07:00
2.4.2.txt Git 2.4.2 2015-05-26 13:49:59 -07:00
2.4.3.txt Git 2.4.3 2015-06-05 12:22:33 -07:00
2.4.4.txt Git 2.4.4 2015-06-16 14:38:01 -07:00
2.4.5.txt Git 2.4.5 2015-06-25 11:03:05 -07:00
2.4.6.txt Git 2.4.6 2015-07-15 12:31:07 -07:00
2.4.7.txt Git 2.4.7 2015-07-27 12:25:42 -07:00
2.4.8.txt Git 2.4.8 2015-08-03 10:43:01 -07:00
2.4.9.txt Git 2.4.9 2015-09-04 10:36:14 -07:00
2.4.10.txt Spelling fixes 2016-08-11 14:35:42 -07:00
2.4.11.txt Git 2.4.11 2016-03-17 11:23:05 -07:00
2.4.12.txt Git 2.4.12 2017-05-05 12:43:16 +09:00
2.5.0.txt RelNotes: am.threeWay does not exist (yet) 2015-07-24 14:31:23 -07:00
2.5.1.txt Git 2.5.1 2015-08-28 11:19:57 -07:00
2.5.2.txt Git 2.5.2 2015-09-04 10:46:07 -07:00
2.5.3.txt Git 2.5.3 2015-09-17 12:16:17 -07:00
2.5.4.txt Spelling fixes 2016-08-11 14:35:42 -07:00
2.5.5.txt Git 2.5.5 2016-03-17 11:24:59 -07:00
2.5.6.txt Git 2.5.6 2017-05-05 12:50:38 +09:00
2.6.0.txt Update RelNotes to 2.6 2015-09-17 12:33:24 -07:00
2.6.1.txt Spelling fixes 2016-08-11 14:35:42 -07:00
2.6.2.txt Git 2.6.2 2015-10-16 14:40:05 -07:00
2.6.3.txt Git 2.6.3 2015-11-05 12:20:34 -08:00
2.6.4.txt Git 2.6.4 2015-12-08 14:12:45 -08:00
2.6.5.txt Git 2.6.5 2016-01-04 14:06:00 -08:00
2.6.6.txt Git 2.6.6 2016-03-17 11:26:41 -07:00
2.6.7.txt Git 2.6.7 2017-05-05 12:56:19 +09:00
2.7.0.txt Git 2.7-rc3 2015-12-28 14:00:52 -08:00
2.7.1.txt treewide: rename 'exclude' methods to 'pattern' 2019-09-05 14:05:12 -07:00
2.7.2.txt Git 2.7.2 2016-02-22 13:12:56 -08:00
2.7.3.txt Git 2.7.3 2016-03-10 11:14:08 -08:00
2.7.4.txt Git 2.7.4 2016-03-17 11:32:13 -07:00
2.7.5.txt Git 2.7.5 2017-05-05 13:03:40 +09:00
2.7.6.txt Git 2.7.6 2017-07-30 14:45:13 -07:00
2.8.0.txt treewide: rename 'exclude' methods to 'pattern' 2019-09-05 14:05:12 -07:00
2.8.1.txt Git 2.8.1 2016-04-03 10:14:12 -07:00
2.8.2.txt Git 2.8.2 2016-04-29 14:19:11 -07:00
2.8.3.txt Git 2.8.3 2016-05-18 15:32:41 -07:00
2.8.4.txt Git 2.8.4 2016-06-06 14:29:32 -07:00
2.8.5.txt Git 2.8.5 2017-05-05 13:08:54 +09:00
2.8.6.txt Git 2.8.6 2017-07-30 14:49:08 -07:00
2.9.0.txt Hopefully the final last-minute update before 2.9 final 2016-06-10 15:30:19 -07:00
2.9.1.txt Git 2.9.1 2016-07-11 10:45:50 -07:00
2.9.2.txt Git 2.9.2 2016-07-15 10:48:16 -07:00
2.9.3.txt Git 2.9.3 2016-08-12 09:17:51 -07:00
2.9.4.txt Git 2.9.4 2017-05-05 13:19:10 +09:00
2.9.5.txt Git 2.9.5 2017-07-30 14:53:25 -07:00
2.10.0.txt A few more fixes before the final 2.10 2016-08-31 10:21:05 -07:00
2.10.1.txt Git 2.10.1 2016-10-03 13:24:18 -07:00
2.10.2.txt Git 2.10.2 2016-10-28 09:02:44 -07:00
2.10.3.txt Git 2.10.3 2017-05-05 13:24:10 +09:00
2.10.4.txt Git 2.10.4 2017-07-30 15:00:04 -07:00
2.10.5.txt Git 2.10.5 2017-09-22 14:42:22 +09:00
2.11.0.txt RelNotes: spelling and phrasing fixups 2016-11-28 15:58:48 -08:00
2.11.1.txt Git 2.11.1 2017-02-02 13:21:27 -08:00
2.11.2.txt Git 2.11.2 2017-05-05 13:29:43 +09:00
2.11.3.txt Git 2.11.3 2017-07-30 15:02:37 -07:00
2.11.4.txt Git 2.11.4 2017-09-22 14:44:45 +09:00
2.12.0.txt Spelling fixes 2017-06-27 10:35:49 -07:00
2.12.1.txt Preparing for 2.12.1 2017-03-16 14:01:20 -07:00
2.12.2.txt Git 2.12.2 2017-03-24 12:59:15 -07:00
2.12.3.txt Git 2.12.3 2017-05-05 13:33:22 +09:00
2.12.4.txt Git 2.12.4 2017-07-30 15:06:06 -07:00
2.12.5.txt Git 2.12.5 2017-09-22 14:47:41 +09:00
2.13.0.txt Git 2.13 2017-05-09 23:26:02 +09:00
2.13.1.txt Git 2.13.1 2017-06-05 09:05:38 +09:00
2.13.2.txt Git 2.13.2 2017-06-24 15:31:36 -07:00
2.13.3.txt Git 2.13.3 2017-07-12 15:24:15 -07:00
2.13.4.txt Preparation for 2.13.4 continues 2017-07-31 13:52:40 -07:00
2.13.5.txt Git 2.13.5 2017-08-01 12:30:00 -07:00
2.13.6.txt Git 2.13.6 2017-09-22 14:49:24 +09:00
2.13.7.txt Git 2.13.7 2018-05-22 13:50:36 +09:00
2.14.0.txt Git 2.14 2017-08-04 09:31:12 -07:00
2.14.1.txt Git 2.14.1 2017-08-04 12:41:54 -07:00
2.14.2.txt Git 2.14.2 2017-09-22 14:51:37 +09:00
2.14.3.txt Git 2.14.3 2017-10-23 14:44:17 +09:00
2.14.4.txt Git 2.14.4 2018-05-22 14:12:02 +09:00
2.14.5.txt Git 2.14.5 2018-09-27 11:19:11 -07:00
2.15.0.txt fix typos in 2.15.0 release notes 2017-11-06 11:34:26 +09:00
2.15.1.txt Git 2.15.1 2017-11-28 13:39:14 +09:00
2.15.2.txt Git 2.15.2 2018-05-22 14:15:59 +09:00
2.15.3.txt Git 2.15.3 2018-09-27 11:33:47 -07:00
2.16.0.txt Git 2.16 2018-01-17 13:06:51 -08:00
2.16.1.txt Git 2.16.1 2018-01-21 21:14:25 -08:00
2.16.2.txt Git 2.16.2 2018-02-15 15:21:23 -08:00
2.16.3.txt Git 2.16.3 2018-03-22 14:24:45 -07:00
2.16.4.txt Git 2.16.4 2018-05-22 14:18:51 +09:00
2.16.5.txt Git 2.16.5 2018-09-27 11:38:32 -07:00
2.17.0.txt doc: fix typos in documentation and release notes 2018-06-19 09:01:12 -07:00
2.17.1.txt Git 2.17.1 2018-05-22 14:28:26 +09:00
2.17.2.txt Git 2.17.2 2018-09-27 11:44:07 -07:00
2.18.0.txt doc: fix typos in documentation and release notes 2018-06-19 09:01:12 -07:00
2.18.1.txt Git 2.18.1 2018-09-27 11:48:19 -07:00
2.19.0.txt Git 2.19 2018-09-10 10:41:56 -07:00
2.19.1.txt Git 2.19.1 2018-09-27 11:52:33 -07:00
2.19.2.txt Git 2.19.2 2018-11-21 23:22:12 +09:00
2.20.0.txt RelNotes 2.20: drop spurious double quote 2018-12-04 11:26:40 +09:00
2.20.1.txt Git 2.20.1 2018-12-15 12:31:34 +09:00
2.21.0.txt Git 2.21-rc1 2019-02-13 18:18:43 -08:00
2.22.0.txt Git 2.22-rc3 2019-06-03 11:25:12 -07:00
2.23.0.txt The third batch 2019-06-21 11:26:11 -07:00