summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius@trolltech.com>2008-06-05 08:31:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-09 22:47:36 (GMT)
commit4bfee30a98783f7987c395e6006a2a6717344c04 (patch)
treebe271112c0ae4349d73deca32f926f2b024fe425 /wt-status.h
parent03300c0ac0dfd6098ff65cff518bfffb05ae4194 (diff)
downloadgit-4bfee30a98783f7987c395e6006a2a6717344c04.zip
git-4bfee30a98783f7987c395e6006a2a6717344c04.tar.gz
git-4bfee30a98783f7987c395e6006a2a6717344c04.tar.bz2
Add an optional <mode> argument to commit/status -u|--untracked-files option
This lets you specify how you want untracked files to be listed. The possible options are: normal - Show untracked files and directories all - Show all untracked files The 'all' mode is used, if the mode is not specified. Signed-off-by: Marius Storm-Olsen <marius@trolltech.com>
Diffstat (limited to 'wt-status.h')
-rw-r--r--wt-status.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h
index 597c7ea..54f756d 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -11,6 +11,12 @@ enum color_wt_status {
WT_STATUS_NOBRANCH,
};
+enum untracked_status_type {
+ SHOW_NORMAL_UNTRACKED_FILES = 1,
+ SHOW_ALL_UNTRACKED_FILES
+};
+extern enum untracked_status_type show_untracked_files;
+
struct wt_status {
int is_initial;
char *branch;