]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
git-submodule summary: limit summary size
authorPing Yin <pkufranky@gmail.com>
Tue, 11 Mar 2008 13:52:17 +0000 (21:52 +0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Mar 2008 06:20:06 +0000 (23:20 -0700)
commitf2dc06a344257df7b9307fc8453af7342409b610
treee866df6500ebd9b5cec02ee11223a190715fce04
parent1cb639e6b02d8740cd2d4516a34822b43660babc
git-submodule summary: limit summary size

This patch teaches git-submodule an option '--summary-limit|-n <number>'
to limit number of commits in total for the summary of each submodule in
the modified case (only a single commit is shown in other cases).

Giving 0 will disable the summary; a negative number means unlimted, which
is the default.

Signed-off-by: Ping Yin <pkufranky@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh