author | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Aug 2009 04:59:30 +0000 (21:59 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Aug 2009 19:50:30 +0000 (12:50 -0700) | ||
commit | d249b098893809c6de6e5e20063a22ac2c629ce7 | |
tree | 03b6147a28dfab2ca55bdbfd95f9d9fae6dc0e02 | tree | snapshot |
parent | 3a5d13a3c32e0f39d8fc83330255fac27af5d853 | commit | diff |
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>
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 | diff | blob | history | |
wt-status.c | diff | blob | history | |
wt-status.h | diff | blob | history |