From ff13396926f3352d9e29c0663154918297dc5af7 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 03 Sep 2007 21:00:06 +0000 Subject: Merge branch 'jo/dirlink' * jo/dirlink: Rename dirlink to gitlink. Conflicts: ui-tree.c Signed-off-by: Lars Hjemli --- (limited to 'ui-tree.c') diff --git a/ui-tree.c b/ui-tree.c index 634132f..1cb09f7 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -68,7 +68,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, cgit_query_path ? "/" : "", name); type = sha1_object_info(sha1, &size); - if (type == OBJ_BAD && !S_ISDIRLNK(mode)) { + if (type == OBJ_BAD && !S_ISGITLINK(mode)) { htmlf("Bad object: %s %s", name, sha1_to_hex(sha1)); @@ -78,7 +78,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, html(""); html_filemode(mode); html(""); - if (S_ISDIRLNK(mode)) { + if (S_ISGITLINK(mode)) { htmlf("