radicle-heartwood-lfs/radicle-httpd
Sebastian Martinez 0e0ff38ff7
httpd: Fix commit count in repo stats in history route
Instead of using always the repo HEAD for the commit count with
`repo::stats` we should use `repo::stats_from` and pass the `parent`
commit.

This way we allow e.g. a commit history for a peer with lesser commits
to be counted correctly.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-25 12:34:03 +02:00
..
src httpd: Fix commit count in repo stats in history route 2023-07-25 12:34:03 +02:00
Cargo.toml Update `radicle-surf` and `git-ref-format` 2023-07-14 16:57:55 +02:00
Dockerfile Build container images for deployment 2022-12-14 17:15:40 +01:00