Regression with handling directories since 194 (was: "diffoscope reacts differently comparing a file against a directory when the directory is specified first (correct output) vs. second (crashes)")
Attached very simple patch lets "diffoscope /etc/motd /var" generate the same output as "diffoscope /var /etc/motd", instead of crashing. The utility of comparing a directory to a file is doubtful, but at least we can handle it gracefully. [diffoscope-directory-second.patch](/uploads/5517dd324c4c7cc6aa353caf9f254d4d/diffoscope-directory-second.patch)
issue