driver/tool.cpp

Joseph Rushton Wakeling via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Jul 9 05:53:10 PDT 2014


On Tuesday, 8 July 2014 at 21:00:39 UTC, Brad Roberts via 
digitalmars-d-ldc wrote:
> Wouldn't this do it?
>
>   rm <file>
>   git checkout <file>

I don't think so.  The point is that git always checks the file 
out with CRLF endings even though internally it's stored with LF. 
  That's why even a reset --hard HEAD won't do it.


More information about the digitalmars-d-ldc mailing list