Parent [>]
1//! Commit log list and detail pages.
2//!
3//! Covers two routes: the commit log (`/{repo}/commits`) and the commit detail
4//! page (`/{repo}/commits/{sha}`).  The `list` handler renders a paginated
5//! commit log with an SVG ancestry graph and inline ref indicators.  The
6//! `detail` handler renders a single commit view with full metadata, a diff
7//! stat, and per-file inline diffs via `gix::diff::blob::UnifiedDiff`.
8
9use axum::response::IntoResponse;
10
11pub async fn detail() -> impl IntoResponse {
12    "Commit detail"
13}
14
15pub async fn list() -> impl IntoResponse {
16    "Commit list"
17}