submodule--helper: introduce get_submodule_displaypath()
authorPrathamesh Chavan <redacted>
Fri, 29 Sep 2017 09:44:51 +0000 (15:14 +0530)
committerJunio C Hamano <redacted>
Mon, 2 Oct 2017 00:35:35 +0000 (09:35 +0900)
commit74a10642aa88c52ebb169489ea212a592d7bf3ce
treebc9e73d4144fdada1aa2b7672b38321e7da84889
parent59c0ea183ad1c5c2b3790caa5046e4ecfa839247
submodule--helper: introduce get_submodule_displaypath()

Introduce function get_submodule_displaypath() to replace the code
occurring in submodule_init() for generating displaypath of the
submodule with a call to it.

This new function will also be used in other parts of the system
in later patches.

Mentored-by: Christian Couder <redacted>
Mentored-by: Stefan Beller <redacted>
Signed-off-by: Prathamesh Chavan <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/submodule--helper.c
git clone https://git.99rst.org/PROJECT