WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.15k stars 784 forks source link

Command line parameter '/u' apparently does not work. #2203

Open Oliver-Norvell opened 5 months ago

Oliver-Norvell commented 5 months ago

Environment: Microsoft Windows [Version 10.0.19045.3930] WinMerge Version: 2.16.38.0 X64

Steps to reproduce:

  1. Start WinMerge using: WinMergeU.exe /u
  2. Click: File/Open... (Ctrl+O)
  3. Input: 1st File or Folder to some valid path (A)
  4. Input: 2nd File or Folder to some valid path (B)
  5. Click: Compare
  6. Close WinMerge
  7. Start WinMerge using: WinMergeU.exe /u
  8. Click: File/Open... (Ctrl+O)
  9. Open MRU combo box: 1st File or Folder

Unexpected: the path (A) is listed in the MRU. The analog bug exists for the '2nd/3rd File or Folder' combo boxes.

sdottaka commented 5 months ago

Unfortunately, the /u command line option is meant to prevent paths specified in command line arguments from being registered with MRU. Therefore, paths specified later in the Select Files or Folders window are not affected by that option.