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 content is the same
as HEAD.

> 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]
> part and mess up the output, even when I didn't change anything near
> that line. The problem is easily reproducable in a newly created
> repository.

I don't understand what you mean here by "mess up the output". Can you
show us an example (and tell us what you expected to see)?

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to