From a15c1c60db9abb981754b1ba3b899f49949ae8b7 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 12 May 2005 17:16:04 -0700 Subject: [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 Signed-off-by: Petr Baudis --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index ff229ee52..c06b94107 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 -- cgit v1.2.1