diff options
author | Marius Storm-Olsen <marius@trolltech.com> | 2008-06-05 10:31:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-09 15:47:36 -0700 |
commit | 4bfee30a98783f7987c395e6006a2a6717344c04 (patch) | |
tree | be271112c0ae4349d73deca32f926f2b024fe425 /wt-status.c | |
parent | 03300c0ac0dfd6098ff65cff518bfffb05ae4194 (diff) | |
download | git-4bfee30a98783f7987c395e6006a2a6717344c04.tar.gz |
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.c')
-rw-r--r-- | wt-status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.c b/wt-status.c index 5b4d74c1f3..25d998513e 100644 --- a/wt-status.c +++ b/wt-status.c @@ -27,6 +27,7 @@ static const char use_add_rm_msg[] = "use \"git add/rm <file>...\" to update what will be committed"; static const char use_add_to_include_msg[] = "use \"git add <file>...\" to include in what will be committed"; +enum untracked_status_type show_untracked_files = SHOW_NORMAL_UNTRACKED_FILES; static int parse_status_slot(const char *var, int offset) { |