Get rid of the dependency to GNU diff in the tests
[gitweb.git] / t / t5401-update-hooks.sh
index 0514056ca6e8e54101b378cafd76b22a81df0ff5..460c9fd7fe1abb426a1fd977ff29214bde5bbe3e 100755 (executable)
@@ -51,12 +51,12 @@ test_expect_success 'hooks ran' '
 
 test_expect_success 'update hook arguments' '
        echo refs/heads/master $commit0 $commit1 |
-       diff -u - victim/.git/update.args
+       git diff - victim/.git/update.args
 '
 
 test_expect_success 'post-update hook arguments' '
        echo refs/heads/master |
-       diff -u - victim/.git/post-update.args
+       git diff - victim/.git/post-update.args
 '
 
 test_expect_failure 'update hook stdin is /dev/null' '