Fix t5516-fetch for systems where `wc -l` outputs whitespace.
[gitweb.git] / t / t3100-ls-tree-restrict.sh
index 2ec06d3d3979aad18b4594329e93407d33f8cae5..e10749245b454f4c71486e536049cbf5b09259d5 100755 (executable)
@@ -35,7 +35,7 @@ _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
 _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
 test_output () {
     sed -e "s/ $_x40   / X     /" <current >check
-    diff -u expected check
+    git diff expected check
 }
 
 test_expect_success \