You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/19 08:00:00 UTC

[jira] [Commented] (SUREFIRE-1538) Git considers PNG files as changed although there is no change

    [ https://issues.apache.org/jira/browse/SUREFIRE-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548945#comment-16548945 ] 

ASF GitHub Bot commented on SUREFIRE-1538:
------------------------------------------

stefanbirkner opened a new pull request #191: [SUREFIRE-1538] Let Git handle PNG files as binary
URL: https://github.com/apache/maven-surefire/pull/191
 
 
   Otherweise Git tries to add a linefeed at the end of the file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Git considers PNG files as changed although there is no change
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-1538
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1538
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: git version 2.14.1
> Ubuntu 17.04
>            Reporter: Stefan Birkner
>            Priority: Minor
>
> After checking out the repository, git shows me immediately that the PNG files changed. This makes it hard to work with git (e.g. rebasing cannot be done).
> This is how I do it
> {code}
> git clone git@github.com:apache/maven-surefire.git
> cd maven-surefire
> git status
> {code}
> Then I get the following output
> {code}
> Auf Branch master
> Ihr Branch ist auf dem selben Stand wie 'origin/master'.
> Änderungen, die nicht zum Commit vorgemerkt sind:
>   (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
>   (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
>     geändert:       maven-surefire-report-plugin/src/site/resources/images/failure-details.PNG
>     geändert:       maven-surefire-report-plugin/src/site/resources/images/surefire-sample1.PNG
>     geändert:       maven-surefire-report-plugin/src/site/resources/images/surefire-sample2.PNG
>     geändert:       maven-surefire-report-plugin/src/site/resources/images/xref.PNG
> keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
> {code}
>  
> It's German, but I think you know what I'm talking about.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)