From c96e6b538e68dbf2bdcc5710780f693014c58f21 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 4 Nov 2025 11:02:58 +0100 Subject: fix manual patch input selection --- patchtree/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchtree/context.py b/patchtree/context.py index 23817f1..c2cf33b 100644 --- a/patchtree/context.py +++ b/patchtree/context.py @@ -232,7 +232,7 @@ class Context: """ inputs: set[Path] = set() - if len(inputs) == 0 and options.root is not None: + if len(options.patch) == 0 and options.root is not None: options.glob = True options.patch = [str(Path(options.root).joinpath("**"))] -- cgit v1.2.3