From: "Toralf Förster" <toralf.foerster@gmx.de>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: (broken ?) output of "git diff --color-word"
Date: Wed, 06 Nov 2013 22:02:36 +0100 [thread overview]
Message-ID: <527AAE6C.9000808@gmx.de> (raw)
I just commented out few lines, "git diff" is fine :
@@ -144,10 +145,10 @@ StartUML || exit 2
SHARES=""
if [[ $VICTIMS -eq 1 ]]; then
-# SHARES="/tmp"
-# SHARES="$SHARES /mnt/hostfs"
-# SHARES="$SHARES /mnt/nfsv2"
-# SHARES="$SHARES /mnt/nfsv3"
+ SHARES="/tmp"
+ SHARES="$SHARES /mnt/hostfs"
+ SHARES="$SHARES /mnt/nfsv2"
+ SHARES="$SHARES /mnt/nfsv3"
# SHARES="$SHARES /mnt/nfsv4"
echo $SHARES | grep -q hostfs
but "git diff --color-words" places the "#" somehow obscure :
@@ -144,10 +145,10 @@ StartUML || exit 2
SHARES=""
if [[ $VICTIMS -eq 1 ]]; then
# SHARES="/tmp"#
SHARES="$SHARES /mnt/hostfs"#
SHARES="$SHARES /mnt/nfsv2"#
SHARES="$SHARES /mnt/nfsv3"
# SHARES="$SHARES /mnt/nfsv4"
echo $SHARES | grep -q hostfs
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
reply other threads:[~2013-11-06 21:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=527AAE6C.9000808@gmx.de \
--to=toralf.foerster@gmx.de \
--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).