Code

git-submodule summary: fix that some "wc" flavors produce leading spaces
authorJohannes Sixt <johannes.sixt@telecom.at>
Wed, 12 Mar 2008 08:30:01 +0000 (09:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Mar 2008 08:53:30 +0000 (01:53 -0700)
commiteed35595759a65d51279547af0f2d017dd928fa5
tree914a49f3672a6fda408c8fe093f56d319f4f95c0
parent2da2ddc664538f64c4d8a4ab61ef93b2b77a50d5
git-submodule summary: fix that some "wc" flavors produce leading spaces

We print the number of commits in parentheses, but without this change
we would get an oddly looking line like this:

    * sm1 4c8d358...41fbea9 (      4):

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh