summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2023-02-27 14:41:52 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2023-02-27 14:44:12 +0100
commit557aed9806b59bebac33f4589bafc25fcb8a2728 (patch)
tree22548c3b5b03d548beae306091f5cd08f02c732b /test
parent0899b69b2b613f8b28e270f49d8a2fd23cbfbd77 (diff)
Use a more gitignore style matching
Use a rightmost match for / so that if we end up with a Section: a/b/c, a 'c' matcher still matches. If the section does not contain any /, it can be matched using /pattern, e.g. /c only matches Section: c, but not Section: a/b/c.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions