Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1903

svn diff text engine should ignore DOS-style Unix EOL's

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • all
    • unscheduled
    • libsvn_diff
    • None

    Description

      I am developing in a group with some programmers who use Windows and most who
      use *nix. One annoyance I frequently run into happens when a Windows developer
      saves a code file using a Windows app that silently adds DOS-style newlines to
      the file. When the code file is checked in, svn flags every single line of the
      file as a diff. Consequently, when there is a conflict, merging becomes
      extremely frustrating, as you have to manually examine every line for a change.
      
      How would people here feel about making the diff engine a bit more intelligent,
      so it can detect and ignore line differences when the only difference is the
      newline character?
      
      Sorry, I am new here. I am filing under libsvn_diff, but please fix it if that
      is the wrong module.
      

      Original issue reported by robolange

      Attachments

        Activity

          People

            Unassigned Unassigned
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: