]> git.ipfire.org Git - thirdparty/git.git/commit - wt-status.c
submodule summary: ignore --for-status option
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Fri, 6 Sep 2013 17:43:06 +0000 (19:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Sep 2013 20:33:18 +0000 (13:33 -0700)
commit3ba7407b8b7b7a75f720641327207d6cfdb163a2
tree7e234f6f8a8257f2861754357500b444c3a18972
parentbb7e32e383d66c290d11174108b2944532905df6
submodule summary: ignore --for-status option

The --for-status option was an undocumented option used only by
wt-status.c, which inserted a header and commented out the output. We can
achieve the same result within wt-status.c, without polluting the
submodule command-line options.

This will make it easier to disable the comments from wt-status.c later.

The --for-status is kept so that another topic in flight
(bc/submodule-status-ignored) can continue relying on it, although it is
currently a no-op.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7401-submodule-summary.sh
wt-status.c