Re: [PATCH v2 2/3] environment: add GIT_PREFIX to local_repo_env
On Fri, Mar 8, 2013 at 4:30 AM, Jeff King <peff@peff.net> wrote:
Show 8 quoted lines
> The GIT_PREFIX variable is set based on our location within
> the working tree. It should therefore be cleared whenever
> GIT_WORK_TREE is cleared.
>
> In practice, this doesn't cause any bugs, because none of
> the sub-programs we invoke with local_repo_env cleared
> actually care about GIT_PREFIX. But this is the right thing
> to do, and future proofs us again that assumption changing.