Skip to content

/x or /xq command line options not working when comparing folders? #2966

@sdottaka

Description

@sdottaka

Discussed in #640

Originally posted by CarlColijn February 20, 2021
When I try to use the /x or /xq command line switch when comparing individual files this works wonderfully. However, when I tell WinMerge to compare two identical folders these switches don't seem to work. This is with and without a /r switch present.

Looking at the source I think I found the answer; the file MergeDoc.cpp has the following on line 2935:

// Exit if files are identical should only work for the first
// comparison and must be disabled afterward.
theApp.m_bExitIfNoDiff = MergeCmdLineInfo::Disabled;

So I guess it's by design. The bigger question however is: "Why", and my follow-up question would be: "Wouldn't it be nice if it worked though?"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions