git commit message showing file as copied instead of modified. What are the implications?

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-04-20T07:47:33Z Indexed on 2010/04/20 7:53 UTC
Read the original article Hit count: 217

Filed under:

git status shows file as modified, however when commiting it shows the file as been copied ie:

git status
modified: foo/bar/baz.xml

git commit
copied: bar/foo/baz.xml -> foo/bar/baz.xml

Why is it showing this file as copied if it was not. The two files were identical before the change.

© Stack Overflow or respective owner

Related posts about git