mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-07 02:07:35 -05:00
The `submodule_to_gitdir()` function implicitly uses `the_repository` to resolve submodule paths. Refactor the function to instead accept a repo as parameter to remove the dependency on global state. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
6.4 KiB
6.4 KiB