commit 5<" trash/tmp
+test_expect_success 'find commit subject' '
+ grep "
commit 5<" tmp
'
-run_test 'find commit msg' 'grep "
" trash/tmp'
-run_test 'find diffstat' 'grep "
" trash/tmp'
+test_expect_success 'find commit msg' 'grep "" tmp'
+test_expect_success 'find diffstat' 'grep "" tmp'
-run_test 'find diff summary' '
- grep "1 files changed, 1 insertions, 0 deletions" trash/tmp
+test_expect_success 'find diff summary' '
+ grep "1 files changed, 1 insertions, 0 deletions" tmp
'
-run_test 'get root commit' '
- root=$(cd trash/repos/foo && git rev-list --reverse HEAD | head -1) &&
- cgit_url "foo/commit&id=$root" >trash/tmp &&
- grep "