summaryrefslogtreecommitdiff
path: root/git-instaweb.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-03-20 19:15:24 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-21 14:24:40 -0700
commit3cc6a6f0f7519733deeebe17d7a19a53e9c02028 (patch)
treec5275731de7191529cd82e6faffcb2fbd7ae9edd /git-instaweb.sh
parentt: drop useless sane_unset GIT_* calls (diff)
downloadtgif-3cc6a6f0f7519733deeebe17d7a19a53e9c02028.tar.xz
t: stop using GIT_CONFIG to cross repo boundaries
Some tests want to check or set config in another repository. E.g., t1000 creates repositories and makes sure that their core.bare and core.worktree settings are what we expect. We can do this with: GIT_CONFIG=$repo/.git/config git config ... but it better shows the intent to just enter the repository and let "git config" do the normal lookups: (cd $repo && git config ...) In theory, this would cause us to use an extra subshell, but in all such cases, we are actually already in a subshell. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-instaweb.sh')
0 files changed, 0 insertions, 0 deletions