]> rtime.felk.cvut.cz Git - git.git/commit
builtin-status: submodule summary support
authorPing Yin <pkufranky@gmail.com>
Sat, 12 Apr 2008 15:05:32 +0000 (23:05 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Apr 2008 03:00:45 +0000 (20:00 -0700)
commitac8d5afca6931aa005aff873e4f490ff5050fc76
treebb892b0ccc125a5912e6910b0bc31c3caa63f933
parentd0f64dd44d5f708f77380998b2c16bffe1e94050
builtin-status: submodule summary support

This commit teaches 'git commit/status' show a new 'Modified submodules'
section, which is an output from:

  git submodule summary --cached --for-status --summary-limit <limit>

just before the 'Untracked files' section.

The <limit> is given by the config variable status.submodulesummary
to limit the submodule summary size. status.submodulesummary is a
bool/int variable with value:

  - false or 0 by default to disable the summary, or
  - positive number to limit the summary size, or
  - true or negative number to unlimit the summary size.

Also mention status.submodulesummary in the documentation.

Signed-off-by: Ping Yin <pkufranky@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-status.txt
wt-status.c