cmds.posix.CmdCopy: Don't copy(App.exec_context.path_filter)
The App's target exec context's path_filter gets passed to util.copy(). That might be a fine idea, but the semantics are too hard to understand at this point, so, if copy should be limited by a path filter, it should to be passed as a query string attached to the source- or target file context. This commit enforces just that by dropping the default_exec_context argument to copy(). Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
7df9c3ce02
commit
7ca07b21fe
1 changed files with 0 additions and 1 deletions
|
|
@ -67,5 +67,4 @@ class CmdCopy(Cmd): # export
|
|||
mode = int(args.mode, 0) if args.mode is not None else None,
|
||||
recursive = args.recursive,
|
||||
parents = args.parents,
|
||||
default_path_filter = self.app.exec_context.path_filter,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue