|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
strange difference display for unchanged source codeHello,
The tool "cvs 1.12.12-157.2" generated the appended difference file on my openSUSE 11.1 system. The first hunk (range "-107,29 +107,27") is fine because it shows the intended source code adjustments. But I wonder about the following hunks because there are no changes shown that are really relevant. Do you find the indicated deletion and addition of the same source lines strange, too? (I do not see any useful updates in the later parts.) Regards, Markus _______________________________________________ Bug-cvs mailing list Bug-cvs@... http://lists.nongnu.org/mailman/listinfo/bug-cvs |
|
|
Re: strange difference display for unchanged source codeSF Markus Elfring writes:
> > The tool "cvs 1.12.12-157.2" generated the appended difference file on > my openSUSE 11.1 system. The attachment got stripped out somewhere along the way. > The first hunk (range "-107,29 +107,27") is fine because it shows the > intended source code adjustments. But I wonder about the following hunks > because there are no changes shown that are really relevant. As far as CVS is concerned, *all* changes are "relevant". If CVS says there's a change, then there's a change. Look for differences in whitespace, particularly things like tabs vs. spaces and line endings. -- Larry Jones Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth? -- Calvin _______________________________________________ Bug-cvs mailing list Bug-cvs@... http://lists.nongnu.org/mailman/listinfo/bug-cvs |
|
|
|
|
|
Re: strange difference display for unchanged source codeSF Markus Elfring writes [quoting me]:
> > > As far as CVS is concerned, *all* changes are "relevant". If CVS says > > there's a change, then there's a change. > > I have got my doubts. I don't. CVS does a byte-by-byte comparison of the files; it *can't* get it wrong. > I would be interested to know if edits by other developers in other > software environments will also trigger update indications for untouched > parts of this source file. No. > I am curious about how I can make the details of the "uninteresting" > changes more visible like in the last two hunks for example. Look at the file and/or the diffs with an editor that has an option to display control characters or use a dump utility. The "uninteresting" changes have a bare <LF> at the end of the line in the original file rather than the correct (for DOS/Windows) <CR><LF>. Your editor is fixing the defective line endings when you save the file (which is a good thing). -- Larry Jones Just when I thought this junk was beginning to make sense. -- Calvin _______________________________________________ Bug-cvs mailing list Bug-cvs@... http://lists.nongnu.org/mailman/listinfo/bug-cvs |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |