Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-681

Git blame fails to report line authors on windows with core.autocrlf = true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.9
    • None
    • Windows
      git configured with core.autocrlf = true

    Description

      Git blame cannot report line authors when each line is modified locally by the autocrlf parameter. It thinks every line is Not Yet Committed.

      The fix is to use git blame -w instead of plain git blame, to ignore whitespaces.

      See discussion here: http://stackoverflow.com/questions/4638500/git-blame-showing-no-history

      Attachments

        Activity

          People

            olamy Olivier Lamy
            dgageot David Gageot
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: