Add pretty format %aN which gives the author name, respecting .mailmap
[gitweb.git] / t / t4014-format-patch.sh
index b2b7a8db859fe7f5d8c74fb27b77e4eba583ebc4..3583e68e92148a5145b82f93ec8a52fd4bb7f200 100755 (executable)
@@ -226,7 +226,7 @@ test_expect_success 'shortlog of cover-letter wraps overly-long onelines' '
 
        git format-patch --cover-letter -2 &&
        sed -e "1,/A U Thor/d" -e "/^$/q" < 0000-cover-letter.patch > output &&
-       git diff expect output
+       test_cmp expect output
 
 '