diff options
| author | Anders Borum <anders@algoritmer.dk> | 2021-03-20 21:39:02 +0100 |
|---|---|---|
| committer | Anders Borum <anders@algoritmer.dk> | 2021-03-20 21:56:11 +0100 |
| commit | bc3d4065528004e0cd86c8b0ae79405196f86584 (patch) | |
| tree | 7abd78a2cd7b36910b821c405255bd5b51d4781c /include/git2/commit.h | |
| parent | 4f4b1139d23a7b38cceb9d83acbfaf73151f522f (diff) | |
| download | libgit2-bc3d4065528004e0cd86c8b0ae79405196f86584.tar.gz | |
fix check for ignoring of negate rules
gitignore rule like "*.pdf" should be negated by "!dir/test.pdf" even though one is inside a directory since *.pdf isn't restricted to any directory
this is fixed by making wildcard match treat * like ** by excluding WM_PATHNAME flag when the rule isn't for a full path
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions
