Re: Bug in git-diff output

2014-04-03 Thread Junio C Hamano
Matthieu Moy writes: > "rocketscienc01100101 ." writes: > >> http://i.imgur.com/BoJSjm9.png >> >> Here's a screenshot that shows the problem. > > (better cut-and-paste the text than sending a PNG image) > >> There's always a misplaced line in the output (most of the time >> a[href^=tel] { }), no

Re: Bug in git-diff output

2014-04-02 Thread Matthieu Moy
"rocketscienc01100101 ." writes: > http://i.imgur.com/BoJSjm9.png > > Here's a screenshot that shows the problem. (better cut-and-paste the text than sending a PNG image) > There's always a misplaced line in the output (most of the time > a[href^=tel] { }), no matter where in the file the chang

Re: Bug in git-diff output

2014-04-02 Thread rocketscienc01100101 .
http://i.imgur.com/BoJSjm9.png Here's a screenshot that shows the problem. There's always a misplaced line in the output (most of the time a[href^=tel] { }), no matter where in the file the changes are. Sometimes it's even in the wrong position, above the @@ numbers. I'd naturally expect the a[hr

Re: Bug in git-diff output

2014-04-02 Thread rocketscienc01100101 .
On Tue, Apr 1, 2014 at 12:49 PM, rocketscienc01100101 . wrote: > I tried to get a diff between HEAD and the current version of my > project, so I did "git diff". > > It's a web project with a CSS file that contains the following CSS rule: > > a[href^=tel] { > color:inherit; > text-decorati

Re: Bug in git-diff output

2014-04-01 Thread Jeff King
On Tue, Apr 01, 2014 at 12:49:00PM +0200, rocketscienc01100101 . wrote: > I tried to get a diff between HEAD and the current version of my > project, so I did "git diff". That actually diffs between the index and the working tree, but if you haven't used "git add" to add any changes, the index co

Bug in git-diff output

2014-04-01 Thread rocketscienc01100101 .
I tried to get a diff between HEAD and the current version of my project, so I did "git diff". It's a web project with a CSS file that contains the following CSS rule: a[href^=tel] { color:inherit; text-decoration:none; } Now, whenever I do "git diff", it will always show the a[href^=tel