The suggestion is to improve the directory comparison function by displaying a dialog where user will select checkboxes for comparison criteria, that is, what TC should take into account: date/time of the files, or its presence/absence, or the file size, etc., or any combination of them. I drew a simple mock-up for how this dialog might look like:
http://flint-inc.ru/Temp/tcbeta90/compare_dirs_dlg_mock_up.png
Here's how it could be implemented:
- A new command cm_CompareDirsWithDlg is added, which would display the dialog (default hotkey can be, for example, Alt+Shift+F2); pressing OK performs the comparison and selects files according to the options.
- If "Remember options" checkbox is set when clicking OK, the currently selected comparison options are saved into wincmd.ini; say, in [face=courier][CompareOptions][/face] section.
- A new wincmd.ini key is added: [face=courier][Configuration]::CompareDirsUseOptions[/face], which works like follows:
- if [face=courier]CompareDirsUseOptions=0[/face], then the dialog-less commands cm_CompareDirs, cm_DirMatch and cm_CompareDirsWithSubdirs work just like in TC <= 8.5 (particularly, always compare by name+time);
- if [face=courier]CompareDirsUseOptions=1[/face], then:
- cm_CompareDirs performs comparison according to the options stored in [face=courier][CompareOptions][/face];
- cm_CompareDirsWithSubdirs does the same, but compares also subdirectories even if this option was turned off;
- cm_DirMatch also works like cm_CompareDirs, but forcibly hides unselected files, even if this option was turned off.