pub fn compute_default_submodule_gitdir(
work_tree: &Path,
git_dir: &Path,
cfg: &ConfigFile,
submodule_name: &str,
) -> Result<String>Expand description
Computes submodule.<name>.gitdir as a path relative to the work tree when not already set.