summaryrefslogtreecommitdiff
path: root/builtin-ls-tree.c
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2007-05-21 22:08:28 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-21 23:34:54 -0700
commit302b9282c9ddfcc704ca759bdc98c1d5f75eba2f (patch)
treec89135b54e9bcab4e58a70b245c8dde4ddf2020f /builtin-ls-tree.c
parentfbf5df024e9137d446c5a85adeae7e4780365d1b (diff)
downloadgit-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 'builtin-ls-tree.c')
-rw-r--r--builtin-ls-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-ls-tree.c b/builtin-ls-tree.c
index 1cb4dca277..9a5977fb99 100644
--- a/builtin-ls-tree.c
+++ b/builtin-ls-tree.c
@@ -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?
*