diff options
author | Junio C Hamano <junkio@cox.net> | 2005-05-12 17:16:04 -0700 |
---|---|---|
committer | Petr Baudis <xpasky@machine.sinus.cz> | 2005-05-13 07:30:23 +0200 |
commit | a15c1c60db9abb981754b1ba3b899f49949ae8b7 (patch) | |
tree | dad95b1eb0f312cbce8b511c715d2ca23a0e1776 /cache.h | |
parent | [PATCH] checkout-cache fix (diff) | |
download | tgif-a15c1c60db9abb981754b1ba3b899f49949ae8b7.tar.xz |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |