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

Re: [PATCH 2nd try] runstatus: do not recurse into subdirectories if not needed

From
Junio C Hamano <junkio@cox.net>
Date
Sep 28, 2006, 04:40 UTC
Message-ID
<7v64f861t9.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0609280240060.14200@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 12 quoted lines
> This speeds up the case when you run git-status, having an untracked
> subdirectory containing huge amounts of files.
>
> Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
>
> ---
>
> 	On Thu, 28 Sep 2006, Johannes Schindelin wrote:
>
> 	Okay, so no more dir_is_empty(). Instead, read_directory_recursive()
> 	gets a flag. With this flag, "check_only", it exits as soon as it
> 	found valid entries, but does not add any. Way easier.
Yeah, the logic is a lot easier to follow.
Previous: Johannes Schindelin
Message 5 of 5 in “runstatus: do not recurse into subdirectories if not needed”
  1. runstatus: do not recurse into subdirectories if not neededJohannes Schindelin, Sep 27, 2006
  2. Junio C HamanoSep 28, 2006
  3. Johannes SchindelinSep 28, 2006
  4. runstatus: do not recurse into subdirectories if not neededJohannes Schindelin, Sep 28, 2006
  5. Junio C HamanoSep 28, 2006

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.