summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-13 00:16:04 (GMT)
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-13 05:30:23 (GMT)
commita15c1c60db9abb981754b1ba3b899f49949ae8b7 (patch)
treedad95b1eb0f312cbce8b511c715d2ca23a0e1776 /cache.h
parent1126b419d6835f6b8c45ccfffc0ada9b09e32d87 (diff)
downloadgit-a15c1c60db9abb981754b1ba3b899f49949ae8b7.zip
git-a15c1c60db9abb981754b1ba3b899f49949ae8b7.tar.gz
git-a15c1c60db9abb981754b1ba3b899f49949ae8b7.tar.bz2
[PATCH 2/3] Support symlinks in git-ls-files --others.
It is kind of surprising that this was missed in the last round, but the work tree scanner in git-ls-files was still deliberately ignoring symlinks. This patch fixes it, so that --others will correctly report unregistered symlinks. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index ff229ee..c06b941 100644
--- a/cache.h
+++ b/cache.h
@@ -27,6 +27,7 @@
#define DT_UNKNOWN 0
#define DT_DIR 1
#define DT_REG 2
+#define DT_LNK 3
#define DTYPE(de) DT_UNKNOWN
#endif