diff: make sure work tree side is shown as 0{40} when different
[gitweb.git] / t / t7600-merge.sh
index 6424c6e2c0b27f6d4dd19e9088710db932d2ace9..50c51c82facdf30fffa4517763c84ce862aa8c27 100755 (executable)
@@ -371,7 +371,7 @@ test_expect_success 'override config option -n' '
        git merge --summary c2 >diffstat.txt &&
        verify_merge file result.1-5 msg.1-5 &&
        verify_parents $c1 $c2 &&
-       if ! grep -e "^ file | \+2 +-$" diffstat.txt
+       if ! grep -e "^ file |  *2 +-$" diffstat.txt
        then
                echo "[OOPS] diffstat was not generated"
        fi
@@ -386,7 +386,7 @@ test_expect_success 'override config option --summary' '
        git merge -n c2 >diffstat.txt &&
        verify_merge file result.1-5 msg.1-5 &&
        verify_parents $c1 $c2 &&
-       if grep -e "^ file | \+2 +-$" diffstat.txt
+       if grep -e "^ file |  *2 +-$" diffstat.txt
        then
                echo "[OOPS] diffstat was generated"
                false