Re: [PATCH 2nd try] runstatus: do not recurse into subdirectories if not needed
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.