summaryrefslogtreecommitdiff
path: root/wt-status.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-03-13 19:59:16 +0700
committerJunio C Hamano <gitster@pobox.com>2013-03-16 21:44:58 -0700
commit6a38ef2ced55f0a8a7967581934e40f79e1d8733 (patch)
treeff6faf20d9fdab3d77c864527f13137051ad45ed /wt-status.h
parent5823eb2b28696bf0eb25f6ca35b303447869f85c (diff)
downloadgit-6a38ef2ced55f0a8a7967581934e40f79e1d8733.tar.gz
status: advise to consider use of -u when read_directory takes too long
Introduce advice.statusUoption to suggest considering use of -u to strike different trade-off when it took more than 2 seconds to enumerate untracked/ignored files. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 236b41fd34..09420d0380 100644
--- a/wt-status.h
+++ b/wt-status.h
@@ -69,6 +69,7 @@ struct wt_status {
struct string_list change;
struct string_list untracked;
struct string_list ignored;
+ uint32_t untracked_in_ms;
};
struct wt_status_state {