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.h | |
parent | 03300c0ac0dfd6098ff65cff518bfffb05ae4194 (diff) | |
download | git-4bfee30a98783f7987c395e6006a2a6717344c04.tar.gz git-4bfee30a98783f7987c395e6006a2a6717344c04.tar.xz |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wt-status.h b/wt-status.h index 597c7ea98..54f756de2 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; |