setup: allow for prefix to be passed to git commands
commitb58a68c1c1874ff155699d82947c9f026f431cb3
authorBrandon Williams <bmwill@google.com>
Fri, 17 Mar 2017 17:22:54 +0000 (17 10:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Mar 2017 18:54:50 +0000 (17 11:54 -0700)
treeff6fceed533478b794de61348ab65dcd775d30a9
parent4fb1c6aad82212051d95b2d0b1f4c877d076bf5d
setup: allow for prefix to be passed to git commands

In a future patch child processes which act on submodules need a little
more context about the original command that was invoked.  This patch
teaches git to use the prefix stored in `GIT_INTERNAL_TOPLEVEL_PREFIX`
instead of the prefix that was potentally found during the git directory
setup process.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
git.c
setup.c