diff options
author | Martin Waitz <tali@admingilde.org> | 2007-05-21 22:08:28 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-21 23:34:54 -0700 |
commit | 302b9282c9ddfcc704ca759bdc98c1d5f75eba2f (patch) | |
tree | c89135b54e9bcab4e58a70b245c8dde4ddf2020f /archive-zip.c | |
parent | fbf5df024e9137d446c5a85adeae7e4780365d1b (diff) | |
download | git-302b9282c9ddfcc704ca759bdc98c1d5f75eba2f.tar.gz |
rename dirlink to gitlink.
Unify naming of plumbing dirlink/gitlink concept:
git ls-files -z '*.[ch]' |
xargs -0 perl -pi -e 's/dirlink/gitlink/g;' -e 's/DIRLNK/GITLINK/g;'
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'archive-zip.c')
-rw-r--r-- | archive-zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archive-zip.c b/archive-zip.c index 3cbf6bb8ac..444e1623db 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); |