aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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("**"))]