summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/routes/tree.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routes/tree.rs b/src/routes/tree.rs
index dcf846e..f6117f2 100644
--- a/src/routes/tree.rs
+++ b/src/routes/tree.rs
@@ -48,6 +48,7 @@ pub async fn tree<'a>(web::Path((repo_name, branch_name, tree_path)): web::Path<
.lines()
.map(String::from)
.enumerate()
+ .skip(1)
.map(crate::view::blob::Line::from)
.collect();