aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek.le-blansch.pv@renesas.com>2025-11-04 11:02:58 +0100
committerLoek Le Blansch <loek.le-blansch.pv@renesas.com>2025-11-04 11:02:58 +0100
commitc96e6b538e68dbf2bdcc5710780f693014c58f21 (patch)
tree4768eb5914b1648cad2b3718fb353ca53f6b683c
parent9620c2d57f2fbd04f512d2bae3e4c210bb5f2db8 (diff)
fix manual patch input selection
-rw-r--r--patchtree/context.py2
1 files changed, 1 insertions, 1 deletions
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("**"))]