Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9443

Git diff output unusable with files containing Windows newlines

    XMLWordPrintable

Details

    • 5e407c08d7036f26749515dbe53567badf9db2c2

    Description

      I have no idea how to describe this one, so take a look at the screenshot.

      But it seems to occur only on files with CRLF line endings.
      after I changed the line endings to LF and made another change, the diff looked normal.

      Just open the file of the attached repository in Qt Creator and make a git diff.

      Attachments

        1. diff_crlf.png
          diff_crlf.png
          51 kB
        2. diff.zip
          13 kB

        Issue Links

          Activity

            People

              jkobus Jarek Kobus
              mkrems Marcel Krems
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: