{% page cgit_print_log %} {! page_start(); !} {! repo_header(); !}
{# Main content #} {! repo_description_panel(); !} {! repo_summary_bar(); !} {! struct rev_info rev; struct commit *commit; const char *argv[] = {NULL, ctx.qry.head}; int argc = 2; repo_init_revisions(the_repository, &rev, NULL); rev.abbrev = DEFAULT_ABBREV; rev.commit_format = CMIT_FMT_DEFAULT; rev.verbose_header = 1; rev.show_root_diff = 0; rev.ignore_missing = 1; rev.simplify_history = 1; setup_revisions(argc, argv, &rev, NULL); prepare_revision_walk(&rev); !}
{# Commits list #}
Commits
{% while (commit = get_revision(&rev)) != NULL %} {! struct commitinfo *info = cgit_parse_commit(commit); !}
object.oid), ctx.qry.vpath); !}" class="hover:text-blue-600 hover:underline">{{ info->subject }}
{{ info->author }} committed {! cgit_print_age_themed(info->committer_date, info->committer_tz, TM_MONTH * 12); !}
{! cgit_free_commitinfo(info); !} {! release_commit_memory(the_repository->parsed_objects, commit); !} {! commit->parents = NULL; !} {% endwhile %}
{! reset_revision_walk(); !} {! release_revisions(&rev); !}
{! page_end(); !} {% endpage %}