Jelmer Vernooij
|
4756814d6c
Fix flake8
|
пре 3 година |
Jelmer Vernooij
|
e7818a9482
Fix handling of escaped characters in ignore files. Fixes #930
|
пре 3 година |
Andrey Torsunov
|
00b511015d
Skip lines with spaces only in .gitignore
|
пре 3 година |
Corentin Hembise
|
a033a381ff
Make flake8 happy
|
пре 4 година |
Corentin Hembise
|
c2e24bef2c
Fix find_matching to stop returning after the first match
|
пре 4 година |
Jelmer Vernooij
|
36b6dbdcc4
Merge branch 'patch-1' of git://github.com/courentin/dulwich
|
пре 4 година |
Corentin Hembise
|
0f18a8dd36
Split the test in a function
|
пре 4 година |
Jelmer Vernooij
|
c8ce22c255
Reformatting.
|
пре 4 година |
Jelmer Vernooij
|
6266df34af
Reformat with black.
|
пре 4 година |
Corentin Hembise
|
0f885dd491
Fix styling errors
|
пре 4 година |
Corentin Hembise
|
442c8153c2
Failing test for manpage gitignore example with IgnoreFilterManager
|
пре 4 година |
pared
|
5219d79334
ignore: question mark should not match slash
|
пре 6 година |
Jelmer Vernooij
|
df3302329b
Fix style errors.
|
пре 6 година |
Jelmer Vernooij
|
e2a556309a
Fix another test case mentioned by Segev in #526
|
пре 7 година |
Jelmer Vernooij
|
6e4a4d61c0
Require that callers pass in a relative path to IgnoreFilterManager.
|
пре 7 година |
Jelmer Vernooij
|
caf074837f
Actually remove files from disk in ``dulwich.porcelain.remove``. Fixes
|
пре 7 година |
Jelmer Vernooij
|
4807bc49df
Add example based on gitignore manpage.
|
пре 7 година |
Jelmer Vernooij
|
17209b2c2c
Add another test for empty path elements.
|
пре 7 година |
Jelmer Vernooij
|
e553e00383
Asterisk can match an empty string too.
|
пре 7 година |
Jelmer Vernooij
|
f31f21e85a
Fix Python3.
|
пре 7 година |
Jelmer Vernooij
|
e687adb8a8
Properly check for directory paths with trailing slash in IgnoreFilterManager.
|
пре 7 година |
Jelmer Vernooij
|
0f82327fdb
Support ignorecase setting.
|
пре 7 година |
Jelmer Vernooij
|
d8f4dce59a
Add IgnoreFilterManager.find_matching and IgnoreFilter.find_matching, to find actual ignore patterns that matched.
|
пре 7 година |
Jelmer Vernooij
|
faeb909a1a
Look in lower directory ignore files first.
|
пре 7 година |
Jelmer Vernooij
|
bcc1ec3930
Fix python3 support for ignores.
|
пре 7 година |
Jelmer Vernooij
|
aa2a305841
Fix all flake8 style issues.
|
пре 7 година |
Jelmer Vernooij
|
450148eac0
Add IgnoreFilterManager.
|
пре 7 година |
Segev Finer
|
b501e4d3a8
gitignore patterns without a trailing slash should match directories too.
|
пре 7 година |
Segev Finer
|
08f4a39975
Correctly handle include, exclude than include in .gitignore
|
пре 7 година |
Segev Finer
|
90d414f7ad
A pattern with only a trailing slash should be treated as a glob
|
пре 7 година |