submodule: fix style in function definition
authorShourya Shukla <shouryashukla.oo@gmail.com>
Tue, 25 Aug 2020 11:30:19 +0000 (17:00 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Aug 2020 20:43:21 +0000 (13:43 -0700)
commitf0c6b6467d60d9c8442ebf4a4b4bd53ebc9bcb4e
tree351c145ed91657cc3f98772c86ddc1e5b1c72b86
parente0f7ae564eecd5e43704c9640ea68ff93a8f316e
submodule: fix style in function definition

The definitions of 'verify_submodule_committish()' and
'print_submodule_summary()' had wrong styling in terms of the asterisk
placement. Amend them.

Also, the warning printed in case of an unexpected file mode printed the
mode in decimal. Print it in octal for enhanced readability.

Reported-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c