document --index-version for index-pack and pack-objects
[gitweb.git] / t / t1000-read-tree-m-3way.sh
index d0af8c3d52573fea203aab13612a9103cca78dd9..e26a36cf0f4c113d916c2d23daf036e4844be053 100755 (executable)
@@ -131,7 +131,7 @@ _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
 
 check_result () {
     git-ls-files --stage | sed -e 's/ '"$_x40"' / X /' >current &&
-    diff -u expected current
+    git diff expected current
 }
 
 # This is done on an empty work directory, which is the normal