Re: Crash when using git blame on untracked file

2016-08-29 Thread Junio C Hamano
Thomas Gummerer writes: > Subject: [PATCH] blame: fix segfault on untracked files > > Since 3b75ee9 ("blame: allow to blame paths freshly added to the index", > 2016-07-16) git blame also looks at the index to determine if there is a > file that was freshly added to the

Re: Crash when using git blame on untracked file

2016-08-27 Thread Thomas Gummerer
Hi, On 08/27, Simon Ruderich wrote: > Hello, > > I'm seeing the following crash with Git 2.9.3 on Debian sid > (amd64): > > $ git init foo > $ cd foo > $ touch x > $ git add x > $ git commit -m test > $ touch x.conf > $ git blame x.conf > segmentation fault > >

Crash when using git blame on untracked file

2016-08-27 Thread Simon Ruderich
Hello, I'm seeing the following crash with Git 2.9.3 on Debian sid (amd64): $ git init foo $ cd foo $ touch x $ git add x $ git commit -m test $ touch x.conf $ git blame x.conf segmentation fault I've tested it on Debian stable's 2.1.4 which works fine: $