This allows it to work in /tree/ and /source/ URLs.
Signed-off-by: Andy Green <[email protected]>
---
ui-tree.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui-tree.c b/ui-tree.c
index e4cb558..b66cabe 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -226,6 +226,8 @@ static void print_object(const struct object_id *oid, char
*path, const char *ba
} else
print_buffer(basename, buf, size);
+ cgit_emit_line_range_highlight_script(0);
+
free(buf);
free(mimetype);
}
_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit