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 /cache-tree.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 'cache-tree.c')
-rw-r--r-- | cache-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.c b/cache-tree.c index 6369cc7c53..350a79b768 100644 --- a/cache-tree.c +++ b/cache-tree.c @@ -326,7 +326,7 @@ static int update_one(struct cache_tree *it, mode = ntohl(ce->ce_mode); entlen = pathlen - baselen; } - if (mode != S_IFDIRLNK && !missing_ok && !has_sha1_file(sha1)) + if (mode != S_IFGITLINK && !missing_ok && !has_sha1_file(sha1)) return error("invalid object %s", sha1_to_hex(sha1)); if (!ce->ce_mode) |