Re: [PATCH] git: extend --no-lazy-fetch to work across subprocesses
From: Junio C Hamano <hidden>
Date: 2024-03-07 20:33:07
Jeff King [off-list ref] writes:
quoted
So I do not have a strong opinion either way, if it is more convenient to propagate the request out to other repositories when we run processes in two or more repositories (e.g. "git clone --local"), or if it is more convenient to make sure that the request is limited to the target repository. Here is a version without the local_repo_env[] change.Yeah, GIT_CEILING_DIRECTORIES is maybe a bad example. But I do think LITERAL_PATHSPECS is a better one, and the submodule-fetch example I gave would be genuinely surprising if it behaved differently than the superproject, I'd think. I do agree this is probably going to mostly be a debugging aid, so it might not matter much. But once in the wild these things tend to take on a life of their own. ;)quoted
----- >8 --------- >8 --------- >8 --------- >8 --------- >8 ----- Subject: [PATCH v3 3/3] git: extend --no-lazy-fetch to work across subprocessesSo anyway, this version seems good to me.
Thanks.