Fix t5516-fetch for systems where `wc -l` outputs whitespace.
[gitweb.git] / t / t3101-ls-tree-dirname.sh
old mode 100644 (file)
new mode 100755 (executable)
index d78deb1..087929a
@@ -43,7 +43,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 \