commit 5<" trash/tmp
'
run_test 'find commit msg' 'grep -e "
" trash/tmp'
run_test 'find diffstat' 'grep -e "
" trash/tmp'
run_test 'find diff summary' '
grep -e "1 files changed, 1 insertions, 0 deletions" trash/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 "