mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 01:16:30 -05:00
policy: add "most shared path" policies
Like path preserving but walks back the path till a match is found. Should cover the usecase where someone wants a "less strict" form of path preservation.
This commit is contained in:
parent
d4eecf3b56
commit
3ec137c4ad
11 changed files with 696 additions and 69 deletions
|
|
@ -80,7 +80,6 @@ def main():
|
|||
args.version = git_version()
|
||||
|
||||
tags = git_tags()
|
||||
|
||||
if args.version in tags:
|
||||
idx = tags.index(args.version)
|
||||
tags = tags[idx:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue