Request: Command Line Option for Ignore Unimportant Diff

Support for our DiffMerge utility.

Moderator: SourceGear


Posts: 2
Joined: Tue Feb 12, 2013 3:16 pm
PostPosted: Tue Feb 12, 2013 3:21 pm
If I have 2 files that are set up where certain things are unimportant (spaces, case), in the GUI of DiffMerge I can check the menu option 'Hide Unimportant Differences' and the differences are no longer highlighted.

If I use the command line options to tell the differences of the same two files and tell it to create a 3rd file of any differences, then ALL differences go to that 3rd file. I would like for that to not happen. If the differences are unimportant, then do not write.

Or...Am I doing something wrong?
Thanks!

Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear
PostPosted: Wed Feb 13, 2013 7:49 am
Thanks for your feedback. I'll log a feature request for this functionality.
Linda Bauer
SourceGear
Technical Support Manager

Posts: 2
Joined: Tue Jul 08, 2014 6:30 am
PostPosted: Tue Jul 08, 2014 6:33 am
Is this implemented in 4.2.0 !
I cant get it to work :oops: , can you send me an example.

http://www.sourcegear.com/diffmerge/web ... 4_2_0.html
" Added "-ignore_unimportant" option to the command line interface."

Posts: 2
Joined: Tue Jul 08, 2014 6:30 am
PostPosted: Tue Jul 08, 2014 7:43 am
Was this implemented in 4.2.0 ?

The result of comparison in the command line (True\False) attends to the /i switch ?

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Jul 09, 2014 8:38 am
On the first question, the -ignore_unimportant was implemented and I can see it working fine in my tests. Here is my example that I ran:

sgdm -caption=mydiff -shex -t1=file1 -t2=file2 -ignore_unimportant "C:\Mypath\CheckedOutItemsReport.aspx" "I:\Mypath\BETH_CheckedOutItemsReport.txt"


The result of comparison in the command line (True\False) attends to the /i switch ?

Yes. Here are two more examples:

sgdm -caption=mydiff -shex -t1=file1 -t2=file2 -i "C:\Mypath\CheckedOutItemsReport.aspx" "I:\Mypath\BETH_CheckedOutItemsReport.txt"

sgdm /caption=mydiff /shex /t1=file1 /t2=file2 /i "C:\Mypath\CheckedOutItemsReport.aspx" "I:\Mypath\BETH_CheckedOutItemsReport.txt"
Beth Kieler
SourceGear Technical Support

Return to Support (DiffMerge)

Who is online

Users browsing this forum: No registered users and 0 guests