X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d01c600c179593a53162a9d4e3040ecfc5078fdc..61d4147ea2d58c9d129a084be13ccec6ae18b4d5:/ui-plain.c diff --git a/ui-plain.c b/ui-plain.c index 7fecc32..85877d7 100644 --- a/ui-plain.c +++ b/ui-plain.c @@ -147,11 +147,14 @@ static void print_dir_entry(const unsigned char *sha1, const char *base, char *fullpath; fullpath = buildpath(base, baselen, path); - if (!S_ISDIR(mode)) + if (!S_ISDIR(mode) && !S_ISGITLINK(mode)) fullpath[strlen(fullpath) - 1] = 0; html("