X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d01c600c179593a53162a9d4e3040ecfc5078fdc..ae90a0b2d18d66e7b1cb98b2e34fd697f8b5311a:/ui-plain.c?ds=sidebyside 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("