index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'src/routes/repository/diff.rs')

-rw-r--r-- src/routes/repository/diff.rs 1
 1 file changed, 1 insertion(+)

diff --git a/src/routes/repository/diff.rs b/src/routes/repository/diff.rs
index 41e1a59..b8da47f 100644
--- a/src/routes/repository/diff.rs
+++ b/src/routes/repository/diff.rs
@@ -26,6 +26,7 @@
    data: web::Data<App>,
) -> Result<HttpResponse, Error> {
    let (name, file_path) = path.into_inner();
    let file_path = file_path.filter(|p| !p.is_empty());
    let repo = data.get_repo(&name)?;
    let gix_repo = repo.gix();