]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-plain.c
ui-blame: add blame UI
[ps-cgit] / ui-plain.c
index e45d553ecc97db424c36011c052d575a5cf637a4..cfdbf730db0772ec2adf99d775434577d371199d 100644 (file)
@@ -135,7 +135,7 @@ static int walk_tree(const unsigned char *sha1, struct strbuf *base,
        struct walk_tree_context *walk_tree_ctx = cbdata;
 
        if (base->len == walk_tree_ctx->match_baselen) {
-               if (S_ISREG(mode)) {
+               if (S_ISREG(mode) || S_ISLNK(mode)) {
                        if (print_object(sha1, pathname))
                                walk_tree_ctx->match = 1;
                } else if (S_ISDIR(mode)) {