submodule: rename helper functions to avoid ambiguity
authorShourya Shukla <shouryashukla.oo@gmail.com>
Wed, 12 Aug 2020 19:44:02 +0000 (01:14 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Aug 2020 21:12:58 +0000 (14:12 -0700)
commit180b154b0900766cf69f79d19432cd04bbcc8a91
tree6f239a7375b7d3d7b470de3822a7a789d0d63f49
parent6414c3d3166152657ea55b7944303a308b0b2d59
submodule: rename helper functions to avoid ambiguity

The helper functions: show_submodule_summary(),
prepare_submodule_summary() and print_submodule_summary() are used by
the builtin_diff() function in diff.c to generate a summary of
submodules in the context of a diff. Functions with similar names are to
be introduced in the upcoming port of submodule's summary subcommand.

So, rename the helper functions to '*_diff_submodule_summary()' to avoid
ambiguity.

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