wt-status: move many global settings to wt_status structure
commitd249b098893809c6de6e5e20063a22ac2c629ce7
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2009 04:59:30 +0000 (9 21:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2009 19:50:30 +0000 (10 12:50 -0700)
tree03b6147a28dfab2ca55bdbfd95f9d9fae6dc0e02
parent3a5d13a3c32e0f39d8fc83330255fac27af5d853
wt-status: move many global settings to wt_status structure

Turn four global variables (wt_status_use_color, show_tracked_files,
wt_status_relative_paths, and wt_status_submodule_summary) into fields of
wt_status structure.  They can also lose "wt_status_" prefix.

Get rid of "untracked" field that was used only to keep track of otherwise
available information redundantly.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c
wt-status.c
wt-status.h