t9400: Add some basic pserver tests
[gitweb.git] / builtin-ls-tree.c
index 1cb4dca277b511315d3b914239c57621fc60bcf3..9a5977fb99c3c61522fee3678fb94b1815575c61 100644 (file)
@@ -60,7 +60,7 @@ static int show_tree(const unsigned char *sha1, const char *base, int baselen,
        int retval = 0;
        const char *type = blob_type;
 
-       if (S_ISDIRLNK(mode)) {
+       if (S_ISGITLINK(mode)) {
                /*
                 * Maybe we want to have some recursive version here?
                 *