From: Nguyễn Thái Ngọc Duy Date: Mon, 09 Mar 2015 10:18:28 GMT Subject: [PATCH 10/16] list-files: new indicator '&' for submodules when -F is used Message-ID: <1425896314-10941-11-git-send-email-pclouds@gmail.com> In-Reply-To: <1425896314-10941-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/list-files.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builtin/list-files.c b/builtin/list-files.c index 97fa8bf..eb51e7a 100644 --- a/builtin/list-files.c +++ b/builtin/list-files.c @@ -51,6 +51,8 @@ static void append_indicator(struct strbuf *sb, mode_t mode) c = '|'; else if (S_ISSOCK(mode)) c = '='; + else if (S_ISGITLINK(mode)) + c = '&'; #ifdef S_ISDOOR else if (S_ISDOOR(mode)) c = '>'; -- 2.3.0.rc1.137.g477eb31