summaryrefslogtreecommitdiffabout
path: root/html.c
authorLars Hjemli <hjemli@gmail.com>2007-09-03 21:00:06 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-09-03 21:00:06 (UTC)
commitff13396926f3352d9e29c0663154918297dc5af7 (patch) (side-by-side diff)
tree71979efc1ad17ab15a365f86ecb49dd128c65772 /html.c
parent4e7e8bf9616661bec0c9b9d9c50aca03e600f32b (diff)
parente651cb0d2dc2dbd458c51cdba8ae56e8629348cc (diff)
downloadcgit-ff13396926f3352d9e29c0663154918297dc5af7.zip
cgit-ff13396926f3352d9e29c0663154918297dc5af7.tar.gz
cgit-ff13396926f3352d9e29c0663154918297dc5af7.tar.bz2
Merge branch 'jo/dirlink'
* jo/dirlink: Rename dirlink to gitlink. Conflicts: ui-tree.c Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'html.c') (more/less context) (ignore whitespace changes)
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 33a956f..76fa6c4 100644
--- a/html.c
+++ b/html.c
@@ -157,9 +157,9 @@ void html_filemode(unsigned short mode)
if (S_ISDIR(mode))
html("d");
else if (S_ISLNK(mode))
html("l");
- else if (S_ISDIRLNK(mode))
+ else if (S_ISGITLINK(mode))
html("m");
else
html("-");
html_fileperm(mode >> 6);