Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius@trolltech.com>2008-06-05 12:31:19 +0400
committerJunio C Hamano <gitster@pobox.com>2008-06-10 02:47:36 +0400
commit4bfee30a98783f7987c395e6006a2a6717344c04 (patch)
treebe271112c0ae4349d73deca32f926f2b024fe425 /wt-status.h
parent03300c0ac0dfd6098ff65cff518bfffb05ae4194 (diff)
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 597c7ea988..54f756de2b 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;