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>
This commit is contained in:
Johannes Schindelin
2006-09-12 22:45:12 +02:00
committed by Junio C Hamano
parent c91f0d92ef
commit 2074cb0af3
4 changed files with 10 additions and 1 deletions

View File

@ -15,6 +15,7 @@ struct wt_status {
int commitable;
int verbose;
int amend;
int untracked;
};
int git_status_config(const char *var, const char *value);