Page 1 of 1

ignore folders?

PostPosted: Tue Feb 11, 2014 6:27 pm
by maelish
How do you ignore folders on the filter line when comparing files? I use *.php, *.html but often need to ignore some directories.

When you are comparing 5k files over a network connection, it'd be nice to ignore certain folders on the fly.

Re: ignore folders?

PostPosted: Sat Feb 15, 2014 12:11 pm
by jtuc
WinMerge 2011.003.523 allows for combining both inclusion and exclusion rules.
You'd specify something like this:

Code: Select all
*.php; *.html; xd:foo; xd:bar

Be careful to not insert spaces after the colons, as this may cause the program to crash upon restart.
(Next release will fix this as per https://bitbucket.org/jtuc/winmerge2011/commits/6f7b4a4f309d.)

    Re: ignore folders?

    PostPosted: Thu Feb 20, 2014 5:48 pm
    by maelish
    While this appears to help, winmerge still reads those directories even if it doesn't show them on the screen afterwards. Is there no way to skip them?

    *.php; *.html; xd:js; xd:css; xd:.git;


    Also, I still see the .git directory and it's files. I'm also having non php and html files show up in the list. For instance, xml and htaccess files are appearing.

    Re: ignore folders?

    PostPosted: Sat Feb 22, 2014 9:10 am
    by jtuc
    Please invoke Help > Configuration and post the results.

    Re: ignore folders?

    PostPosted: Sat Feb 22, 2014 3:10 pm
    by maelish
    WinMerge configuration log
    --------------------------
    Saved to: C:\Users\maelish\Documents\WinMerge\WinMerge.txt
    * Please add this information (or attach this file)
    * when reporting bugs.
    Module names prefixed with tilda (~) are currently loaded in WinMerge process.


    Version information:
    WinMerge.exe: 2.14.0.0
    Build config: UNICODE _UNICODE
    Command Line: none
    Windows: Microsoft Windows 7 Professional Service Pack 1 (Build 7601)
    ~COMCTL32.dll dllversion=6.16 dllbuild=7601
    ~shlwapi.dll dllversion=6.01 dllbuild=7601
    MergeLang.dll version=2.14 build=0000
    ShellExtension.dll version=0.00 build=0000
    ShellExtensionU.dll version=0.00 build=0000
    ShellExtensionX64.dll version=1.16 build=0008

    WinMerge configuration:
    Compare settings:
    Ignore blank lines: No
    Ignore case: No
    Ignore carriage return differences: No
    Whitespace compare: Compare all
    Detect moved blocks: No
    Compare method: 0
    Stop after first diff: No

    Other settings:
    Automatic rescan: Yes
    Simple EOL: Yes
    Automatic scroll to 1st difference: No
    Backup original file: No

    Folder compare:
    Identical files: No
    Different files: Yes
    Left Unique files: Yes
    Right Unique files: Yes
    Binary files: Yes
    Skipped files: No
    Tree-mode enabled: No

    File compare:
    Preserve filetimes: No
    Match similar lines: No

    Editor settings:
    View Whitespace: No
    Merge Mode enabled: No
    Show linenumbers: No
    Wrap lines: No
    Syntax Highlight: Yes
    Tab size: 4
    Insert tabs: Yes

    Font:
    Font facename: Courier New
    Font charset: 0 (Ansi)

    System settings:
    codepage settings:
    ANSI codepage: 1252
    OEM codepage: 437
    Locale (Thread):
    Def ANSI codepage: 1252
    Def OEM codepage: 437
    Country: United States
    Language: English
    Language code: 0409
    ISO Language code: en
    Locale (User):
    Def ANSI codepage: 1252
    Def OEM codepage: 437
    Country: United States
    Language: English
    Language code: 0409
    ISO Language code: en
    Locale (System):
    Def ANSI codepage: 1252
    Def OEM codepage: 437
    Country: United States
    Language: English
    Language code: 0409
    ISO Language code: en
    Detect codepage automatically for RC and HTML files: No
    unicoder codepage: 1252

    Plugins:
    Plugins enabled: No
    Unpackers:
    CompareMSExcelFiles.dll [C:\Program Files (x86)\WinMerge\MergePlugins\CompareMSExcelFiles.dll]
    CompareMSWordFiles.dll [C:\Program Files (x86)\WinMerge\MergePlugins\CompareMSWordFiles.dll]
    DisplayXMLFiles.dll [C:\Program Files (x86)\WinMerge\MergePlugins\DisplayXMLFiles.dll]
    WatchBeginningOfLog.dll [C:\Program Files (x86)\WinMerge\MergePlugins\WatchBeginningOfLog.dll]
    WatchEndOfLog.dll [C:\Program Files (x86)\WinMerge\MergePlugins\WatchEndOfLog.dll]
    Prediffers:
    IgnoreColumns.dll [C:\Program Files (x86)\WinMerge\MergePlugins\IgnoreColumns.dll]
    IgnoreCommentsC.dll [C:\Program Files (x86)\WinMerge\MergePlugins\IgnoreCommentsC.dll]
    IgnoreFieldsComma.dll [C:\Program Files (x86)\WinMerge\MergePlugins\IgnoreFieldsComma.dll]
    IgnoreFieldsTab.dll [C:\Program Files (x86)\WinMerge\MergePlugins\IgnoreFieldsTab.dll]
    IgnoreLeadingLineNumbers.dll [C:\Program Files (x86)\WinMerge\MergePlugins\IgnoreLeadingLineNumbers.dll]
    Editor scripts:
    .sct scripts disabled (Windows Script Host not found)


    Archive support:
    Enable: 1
    7-Zip software installed on your computer: 9.20
    7-zip.dll version=9.20 build=0000 path=C:\Program Files (x86)\7-Zip\7-zip.dll
    Codecs:
    Formats:
    7-Zip components for standalone operation: 0.00
    Codecs:
    Formats:
    Merge7z plugins on path:

    Re: ignore folders?

    PostPosted: Sun Feb 23, 2014 11:16 am
    by jtuc
    As per configuration log, you're using WinMerge 2.14.
    The feature is available as of WinMerge 2011.003.523.
    A backport to WinMerge 2.x is unlikely to happen.

    Re: ignore folders?

    PostPosted: Sun Feb 23, 2014 1:47 pm
    by maelish
    jtuc wrote:As per configuration log, you're using WinMerge 2.14.
    The feature is available as of WinMerge 2011.003.523.
    A backport to WinMerge 2.x is unlikely to happen.



    So you are saying the older version could ignore folders but the new one cannot?

    EDIT: Oh I see. Didn't realize there were code splits.