git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 8/6] Teach directory traversal about subprojects

From
Junio C Hamano <junkio@cox.net>
Date
Apr 12, 2007, 00:50 UTC
Message-ID
<7vfy76mn4d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0704111439210.6730@woody.linux-foundation.org>
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.
Much nicer to read.
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?
Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 4 in “Teach directory traversal about subprojects”
  1. 8/6 Teach directory traversal about subprojectsLinus Torvalds, Apr 11, 2007
  2. Junio C HamanoApr 12, 2007
  3. Linus TorvaldsApr 12, 2007
  4. Junio C HamanoApr 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.