summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-09-12 20:45:12 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-13 06:20:17 (GMT)
commit2074cb0af339f586cab6e0cdc20c4eadf3ba93e8 (patch)
tree28109bfd381be45f4a37f14413cf44f612c060ac /wt-status.h
parentc91f0d92efb36d7b349f586cafafaf0e6ac3f5b2 (diff)
downloadgit-2074cb0af339f586cab6e0cdc20c4eadf3ba93e8.zip
git-2074cb0af339f586cab6e0cdc20c4eadf3ba93e8.tar.gz
git-2074cb0af339f586cab6e0cdc20c4eadf3ba93e8.tar.bz2
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>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index 75d3cfe..0a5a5b7 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -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);