user-manual: clean up fast-forward and dangling-objects sections
[gitweb.git] / t / t3001-ls-files-others-exclude.sh
index 6979b7c1c05001d08ce94f9034580f94745b4924..db7a847a5dd13ece7a4ec22d795b8407631d7d4c 100755 (executable)
@@ -65,7 +65,7 @@ test_expect_success \
        --exclude-per-directory=.gitignore \
        --exclude-from=.git/ignore \
        >output &&
-     diff -u expect output'
+     git diff expect output'
 
 # Test \r\n (MSDOS-like systems)
 printf '*.1\r\n/*.3\r\n!*.6\r\n' >.gitignore
@@ -77,6 +77,6 @@ test_expect_success \
        --exclude-per-directory=.gitignore \
        --exclude-from=.git/ignore \
        >output &&
-     diff -u expect output'
+     git diff expect output'
 
 test_done