cmds.posix.CmdCopy: Don't copy(App.exec_context.path_filter) #175

Merged
Jan Lindemann merged 1 commit from jan/fix/20261109-cmds-posix-cmdcopy-don-t-copy-app-exec-context-path-filter into master 2026-11-09 22:25:30 +01:00 AGit

2026-11-09

cmds.posix.CmdCopy: Don't copy(App.exec_context.path_filter)
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m14s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m10s
CI / Packaging test (pull_request) Successful in 0s
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>
2026-11-09 22:14:59 +01:00