summaryrefslogtreecommitdiff
path: root/trace.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-02-22 20:17:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-24 17:33:27 (GMT)
commit8dca7f30e4e5da31b375ecaeeac995305c9c0c5c (patch)
tree346e2ede1e211f37e78fe207af345f78639d88ef /trace.h
parent6946e525ae19dc756ff0a2a46abf1d1d30511594 (diff)
downloadgit-8dca7f30e4e5da31b375ecaeeac995305c9c0c5c.zip
git-8dca7f30e4e5da31b375ecaeeac995305c9c0c5c.tar.gz
git-8dca7f30e4e5da31b375ecaeeac995305c9c0c5c.tar.bz2
t/helper: initialize repository if necessary
The repository helper is used in t5318 to read commit graphs whether we're in a repository or not. However, without a repository, we have no way to properly initialize the hash algorithm, meaning that the file is misread. Fix this by calling setup_git_directory_gently, which will read the environment variable the testsuite sets to ensure that the correct hash algorithm is set. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.h')
0 files changed, 0 insertions, 0 deletions