You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Gageot (JIRA)" <ji...@codehaus.org> on 2012/07/18 16:12:21 UTC

[jira] (SCM-681) Git blame fails to report line authors on windows with core.autocrlf = true

    [ https://jira.codehaus.org/browse/SCM-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303933#comment-303933 ] 

David Gageot commented on SCM-681:
----------------------------------

Any date of release? ;-)
                
> Git blame fails to report line authors on windows with core.autocrlf = true
> ---------------------------------------------------------------------------
>
>                 Key: SCM-681
>                 URL: https://jira.codehaus.org/browse/SCM-681
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-git
>    Affects Versions: 1.7
>         Environment: Windows
> git configured with core.autocrlf = true
>            Reporter: David Gageot
>            Assignee: Olivier Lamy
>             Fix For: 1.8
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira