summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-08-29 13:43:47 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-08-29 13:43:47 +0000
commit653dedf334c7d9a9cf5efe2be77b9b4b617f943b (patch)
tree82c6bb333270eb85079e2309c1c8a5814f02b9f1 /regress/lib
parent409b89b45f65cc2d68727d1e0f9ca26b0e8bc541 (diff)
Implement --exclude/exclude-file and --include/include-file.
Currently only simple include and excludes work, the advanced filters introduced later in rsync are not implemented. It is unclear if the per directory filters are something we want to implement. This requires more modern protocols which openrsync is not able to handle right now. This adds a special matching function to allow the ** matching which behaves mostly like rsyncs version with the exception of how bad [] patterns are expanded. For bad patterns openrsync follows more how fnmatch behaves and not the somewhat strange rsync behaviour. Not perfect but committing now so people can test and provide feedback.
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions