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