Code

test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 19 Aug 2010 16:08:10 +0000 (16:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Aug 2010 19:12:01 +0000 (12:12 -0700)
commit6cec5c683535c8eacf6055064c9c5753b47bb031
tree576ee53e2864382d216ad6edc491b8d251da9942
parentaed604c7789146392bb4d4445717388c81c2701f
test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../

Change code that used $TEST_DIRECTORY/.. to use $GIT_BUILD_DIR
instead, the two are equivalent, but the latter is easier to read.

This required moving the assignment od GIT_BUILD_DIR to earlier in the
test-lib.sh file.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh