Re: [PATCH 8/6] Teach directory traversal about subprojects
Linus Torvalds <torvalds@linux-foundation.org> writes:
> Yes, this adds many more lines than it removes, but 40 of the added lines
> really are just added comments about what we're doing. And the end result
> really is more readable too even if ignoring the comments, I think.
Show 14 quoted lines
> diff --git a/dir.h b/dir.h
> index 33c31f2..1931609 100644
> --- a/dir.h
> +++ b/dir.h
> @@ -33,7 +33,8 @@ struct dir_struct {
> int nr, alloc;
> unsigned int show_ignored:1,
> show_other_directories:1,
> - hide_empty_directories:1;
> + hide_empty_directories:1,
> + no_dirlinks;
> struct dir_entry **entries;
>
> /* Exclude info */Did you mean a bitfield here?