[webkit-dev] sln files with wrong line endings

Dean Jackson dino at apple.com
Sun Feb 17 11:30:58 PST 2013


On 14/02/2013, at 6:23 pm, Vivek Galatage <vivekgalatage at gmail.com> wrote:

> I had the same problem and was able to trace the reason for this.
> 
> http://stackoverflow.com/questions/1889559/git-diff-to-ignore-m
> 
> Its the ^M characters at the EOL. git diff --ignore-space-at-eol ignores the change from the diff.
> 
> Something similar was happening with http://trac.webkit.org/browser/trunk/Source/WTF/WTF.vcproj/WTF.sln and its changelog says it.

FWIW, I’ve hit something similar to this when rsyncing repositories between machines. All of a sudden, that WTF.sln file is marked as modified, but git diff can’t see the change.

I “fix" it by deleting the the .git/index and then doing a git checkout.

Dean

> 
> 
> 
> On Thu, Feb 14, 2013 at 12:40 PM, Christophe Dumez - SISA <ch.dumez at sisa.samsung.com> wrote:
> Hi,
> 
> The same thing has just happened to me. I managed to get rid of the changes to this file by doing:
> git reset --hard
> 
> Kr,
> Christope Dumez.
> ________________________________________
> From: webkit-dev-bounces at lists.webkit.org [webkit-dev-bounces at lists.webkit.org] on behalf of Eric Seidel [eric at webkit.org]
> Sent: Thursday, February 14, 2013 08:23
> To: WebKit Development
> Subject: [webkit-dev] sln files with wrong line endings
> 
> We've had this come up before, but I figure I should ask on webkit-dev
> to see if we have a solution. :)
> 
> Right now the Tools/DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree.sln
> file is in some sort of bad state such that my Git checkout can't seem
> to not-modify the file.
> 
> I'm not sure if it's a Git bug, or a repository config bug.
> 
> But it means I can't seem to produce patches w/o modifying this file. :(
> 
> https://bugs.webkit.org/attachment.cgi?id=188263&action=review
> 
> Thoughts?
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130218/471713bf/attachment.html>


More information about the webkit-dev mailing list