Commit 509509e3 authored by Chris Lamb's avatar Chris Lamb 💬

diffoscope.main: Print a debugging message if we are reading diff from stdin.

parent 21f931a9
......@@ -364,6 +364,7 @@ def run_diffoscope(parsed_args):
path1, path2 = parsed_args.path1, parsed_args.path2
if path2 is None:
logger.debug("Loading diff from stdin")
if path1 is None or path1 == '-':
difference = load_diff(sys.stdin, "stdin")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment