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 2
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/routes/repository/diff.rs b/src/routes/repository/diff.rs
index b8da47f..a12107f 100644
--- a/src/routes/repository/diff.rs
+++ b/src/routes/repository/diff.rs
@@ -80,7 +80,7 @@
    data.extend_from_slice(b"\n");
    data.extend_from_slice(diff.output.as_bytes());

    writeln!(data, "--\ngit-rs {}", crate_version!())?;
    writeln!(data, "--\ngitrs {}", crate_version!())?;

    Ok(HttpResponse::Ok().content_type("text").body(data))
}