X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=archive-zip.c;h=444e1623db66fe4f5d8983e1e9e2cf4083b005b4;hb=3af51928ab7cefa35048e3a5a9e78a127749d405;hp=3cbf6bb8ac4045803140ca5019126015e817155e;hpb=c0e9892637e8144f10f2c408e276a470520f3601;p=git.git diff --git a/archive-zip.c b/archive-zip.c index 3cbf6bb8a..444e1623d 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -182,7 +182,7 @@ static int write_zip_entry(const unsigned char *sha1, goto out; } - if (S_ISDIR(mode) || S_ISDIRLNK(mode)) { + if (S_ISDIR(mode) || S_ISGITLINK(mode)) { method = 0; attr2 = 16; result = (S_ISDIR(mode) ? READ_TREE_RECURSIVE : 0);