Code

runstatus: do not recurse into subdirectories if not needed
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 28 Sep 2006 00:44:30 +0000 (02:44 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 28 Sep 2006 04:36:54 +0000 (21:36 -0700)
commit07ccbff89b6736a5253e6bba62c9a8e1f2da0ffd
tree7882b3326aa826f5605f5adba91a633250e1eef7
parenta3f5d02edb2c1a037ed3ed8d2ebd3f3e5da9d198
runstatus: do not recurse into subdirectories if not needed

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>
Signed-off-by: Junio C Hamano <junkio@cox.net>
dir.c