]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
Move cgit_repo into cgit_context
[ps-cgit] / ui-tree.c
index 7cae85a5f299ac16f2c0840eec323a1346c576e7..df05ad30171d22ce8f162e53beb8d41ae77036af 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -83,7 +83,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
        html("</td><td>");
        if (S_ISGITLINK(mode)) {
                htmlf("<a class='ls-mod' href='");
-               html_attr(fmt(cgit_repo->module_link,
+               html_attr(fmt(ctx.repo->module_link,
                              name,
                              sha1_to_hex(sha1)));
                html("'>");