Ignore White Space in Diff
Moderator: SourceGear
-
- Posts: 17
- Joined: Tue Oct 03, 2006 9:59 am
Ignore White Space in Diff
I Turned On the "Ignore White Space" in the Diff window settings. However, when I run Folder comparison, it brings up the files that has Only the White Space difference. Why?
- Attachments
-
- IgnoreWhiteSpaceInDiff.doc
- (166 KiB) Downloaded 397 times
Is the white space in these files from blank lines?
This is a known issue in the Diff/Merge tool.
When the "ignore white space" option is enabled in the file comparison options, line feeds show up as insertions. We have a bug logged to ignore feeds/new lines also.
Part of the problem is that there are several defintions of "ignore whitespace." For example, there's an: ignore leading white, ignore all white, and ignore changes in white. Our tool uses "ignore changes in white", so all sequences of 2 or more spaces are treated as if they were 1 space also, lines are handled differently.
We're re-writing the Diff-Merge tool for Vault 4.0. Do you have suggestions on how white space should be handled? I can add your comments to the bug report.
This is a known issue in the Diff/Merge tool.
When the "ignore white space" option is enabled in the file comparison options, line feeds show up as insertions. We have a bug logged to ignore feeds/new lines also.
Part of the problem is that there are several defintions of "ignore whitespace." For example, there's an: ignore leading white, ignore all white, and ignore changes in white. Our tool uses "ignore changes in white", so all sequences of 2 or more spaces are treated as if they were 1 space also, lines are handled differently.
We're re-writing the Diff-Merge tool for Vault 4.0. Do you have suggestions on how white space should be handled? I can add your comments to the bug report.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager