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>
This commit is contained in:
Martin Waitz
2007-05-21 22:08:28 +02:00
committed by Junio C Hamano
parent fbf5df024e
commit 302b9282c9
14 changed files with 27 additions and 27 deletions

2
diff.c
View File

@ -1465,7 +1465,7 @@ int diff_populate_filespec(struct diff_filespec *s, int size_only)
if (size_only && 0 < s->size)
return 0;
if (S_ISDIRLNK(s->mode))
if (S_ISGITLINK(s->mode))
return diff_populate_gitlink(s, size_only);
if (!s->sha1_valid ||