$(escape "$MSG_NAME") | $(escape "$MSG_DESCRIPTION") | $(escape "$MSG_LAST_COMMIT") | $(escape "$repo") | $(escape "$description") | $(escape "$last_commit_date") | EOF } print_index_footer() { cat <
---|
$(escape "$MSG_NAME") | $(escape "$MSG_DESCRIPTION") | $(escape "$MSG_LAST_COMMIT") | $(escape "$repo") | $(escape "$description") | $(escape "$last_commit_date") | EOF } print_index_footer() { cat <
---|
$(escape "$MSG_THEAD_BRANCH") | $(escape "$MSG_THEAD_COMMITMSG") | $(escape "$MSG_THEAD_AUTHOR") | $(escape "$MSG_THEAD_DATE") | $(escape "$branch") | $(escape "$(git log -1 --format=%B "$sha")") | $(escape "$(git log -1 --format=%an "$sha")") | $(escape "$(git log -1 --format=%cd --date='format:%Y-%m:%d %H:%M' "$sha")") | EOF done cat <
---|
$(escape "$MSG_THEAD_TAG") | $(escape "$MSG_THEAD_AUTHOR") | $(escape "$MSG_THEAD_DATE") | $(escape "$tag") $tarball_link | $(escape "$(git log -1 --format=%an "$tag")") | $(escape "$(git log -1 --format=%cd --date='format:%Y-%m:%d %H:%M' "$tag")") | EOF done cat <
---|
' git show -p "$sha" printf '\n' } print_repo_commit_page() { sha="$2" summary="$(git log -1 --format=%B "$sha")" cat <