From 4888c534099012d71d24051deb5b14319747bd1a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 25 Dec 2006 03:11:34 -0800 Subject: read_directory: show_both option. This teaches the internal read_directory() routine to return both interesting and ignored pathnames. Signed-off-by: Junio C Hamano --- dir.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dir.h') diff --git a/dir.h b/dir.h index c91972794..08c634547 100644 --- a/dir.h +++ b/dir.h @@ -13,7 +13,8 @@ struct dir_entry { - int len; + unsigned ignored_entry : 1; + unsigned int len : 15; char name[FLEX_ARRAY]; /* more */ }; @@ -29,7 +30,8 @@ struct exclude_list { struct dir_struct { int nr, alloc; - unsigned int show_ignored:1, + unsigned int show_both: 1, + show_ignored:1, show_other_directories:1, hide_empty_directories:1; struct dir_entry **entries; -- cgit v1.2.1