git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "rocketscienc01100101 ." <rocketscienc01100101@gmail.com>
To: git@vger.kernel.org
Subject: Bug in git-diff output
Date: Tue, 1 Apr 2014 12:49:00 +0200	[thread overview]
Message-ID: <CALgQ2n-vPK6_0LnWA_AAD2GLvepjLN4A3UZFCAWzEp9r_=XOVg@mail.gmail.com> (raw)

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]
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.

git --version
git version 1.9.1

             reply	other threads:[~2014-04-01 10:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 10:49 rocketscienc01100101 . [this message]
2014-04-01 11:46 ` Bug in git-diff output Jeff King
2014-04-02 10:59 ` rocketscienc01100101 .
2014-04-02 11:05 ` rocketscienc01100101 .
2014-04-02 12:09   ` Matthieu Moy
2014-04-03 18:10     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALgQ2n-vPK6_0LnWA_AAD2GLvepjLN4A3UZFCAWzEp9r_=XOVg@mail.gmail.com' \
    --to=rocketscienc01100101@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).