summaryrefslogtreecommitdiff
path: root/list-objects.c
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2007-05-21 20:08:28 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-22 06:34:54 (GMT)
commit302b9282c9ddfcc704ca759bdc98c1d5f75eba2f (patch)
treec89135b54e9bcab4e58a70b245c8dde4ddf2020f /list-objects.c
parentfbf5df024e9137d446c5a85adeae7e4780365d1b (diff)
downloadgit-302b9282c9ddfcc704ca759bdc98c1d5f75eba2f.zip
git-302b9282c9ddfcc704ca759bdc98c1d5f75eba2f.tar.gz
git-302b9282c9ddfcc704ca759bdc98c1d5f75eba2f.tar.bz2
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 'list-objects.c')
-rw-r--r--list-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects.c b/list-objects.c
index 310f8d3..e5c88c2 100644
--- a/list-objects.c
+++ b/list-objects.c
@@ -87,7 +87,7 @@ static void process_tree(struct rev_info *revs,
process_tree(revs,
lookup_tree(entry.sha1),
p, &me, entry.path);
- else if (S_ISDIRLNK(entry.mode))
+ else if (S_ISGITLINK(entry.mode))
process_gitlink(revs, entry.sha1,
p, &me, entry.path);
else