diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-25 03:11:34 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-25 03:29:08 -0800 |
commit | 4888c534099012d71d24051deb5b14319747bd1a (patch) | |
tree | 49dc638e23b71cc2609a797bfa7ca9f0ab72d072 /dir.h | |
parent | 08d22488a65fde7d570bd4ea57626f5352b9b064 (diff) | |
download | git-4888c534099012d71d24051deb5b14319747bd1a.tar.gz |
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 <junkio@cox.net>
Diffstat (limited to 'dir.h')
-rw-r--r-- | dir.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |