Teach runstatus about --untracked
commit2074cb0af339f586cab6e0cdc20c4eadf3ba93e8
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 12 Sep 2006 20:45:12 +0000 (12 22:45 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 13 Sep 2006 06:20:17 +0000 (12 23:20 -0700)
tree28109bfd381be45f4a37f14413cf44f612c060ac
parentc91f0d92efb36d7b349f586cafafaf0e6ac3f5b2
Teach runstatus about --untracked

Actually, teach runstatus what to do if it is not passed; it should not list
the contents of completely untracked directories, but only the name of that
directory (plus a trailing '/').

[jc: with comments by Jeff King to match hide-empty-directories
 behaviour of the original.]

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-runstatus.c
git-commit.sh
wt-status.c
wt-status.h