Re: git blame breaking on repository with CRLF files

2015-08-10 Thread Junio C Hamano
Torsten Bögershausen tbo...@web.de writes: Actually I could reproduce the following: CRLF in repo, CRLF in working tree, core.autocrlf= true. What should happen in such a case? Wouldn't autocrlf=true want to strip CRLF down to LF? Shouldn't it? And if so, blame is correct to say that you

Re: git blame breaking on repository with CRLF files

2015-08-10 Thread Torsten Bögershausen
On 2015-08-10 20.48, Junio C Hamano wrote: Torsten Bögershausen tbo...@web.de writes: Actually I could reproduce the following: CRLF in repo, CRLF in working tree, core.autocrlf= true. What should happen in such a case? Wouldn't autocrlf=true want to strip CRLF down to LF? Shouldn't it?

Re: git blame breaking on repository with CRLF files

2015-08-10 Thread brian m. carlson
On Mon, Aug 10, 2015 at 08:36:35AM +, Benkstein, Frank wrote: You are correct that it is also wrong in git v1.7.0. However, it is correct in v2.4.0. Another bisect gave me this commit which was included in v2.0.1: commit 4d4813a52f3722854a54bab046f4abfec13ef6ae Author: brian m.

RE: git blame breaking on repository with CRLF files

2015-08-10 Thread Benkstein, Frank
Hello Torsten, Torsten Bögershausen, Sonntag, 9. August 2015 22:20: On 2015-08-08 07.58, Torsten Bögershausen wrote: On 2015-08-07 18.32, Benkstein, Frank wrote: I am working working on Linux and am examining code in a git repository I do not know much about. I am only looking at files, not

Re: git blame breaking on repository with CRLF files

2015-08-09 Thread Torsten Bögershausen
On 2015-08-08 07.58, Torsten Bögershausen wrote: On 2015-08-07 18.32, Benkstein, Frank wrote: Hello, I am working working on Linux and am examining code in a git repository I do not know much about. I am only looking at files, not changing anything. On some files in the repository I get

git blame breaking on repository with CRLF files

2015-08-07 Thread Benkstein, Frank
Hello, I am working working on Linux and am examining code in a git repository I do not know much about. I am only looking at files, not changing anything. On some files in the repository I get (Not Committed Yet for all lines when running git blame. I checked with git status, git

Re: git blame breaking on repository with CRLF files

2015-08-07 Thread Torsten Bögershausen
On 2015-08-07 18.32, Benkstein, Frank wrote: Hello, I am working working on Linux and am examining code in a git repository I do not know much about. I am only looking at files, not changing anything. On some files in the repository I get (Not Committed Yet for all lines when