Code

test-lib: use DIFF definition from GIT-BUILD-OPTIONS
authorJunio C Hamano <gitster@pobox.com>
Fri, 11 Jun 2010 16:40:25 +0000 (09:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jun 2010 20:45:05 +0000 (13:45 -0700)
commit5e87eae97df69a48a575fd79131e85067f9dbf13
treec394c8e9a152e1f26a5fead39e2b8f0ef54b6b5d
parent09ce4bb6ea7c06c1de82f042cb3ade622b0fa36c
test-lib: use DIFF definition from GIT-BUILD-OPTIONS

Otherwise running individual tests from t/ directory may lack the definition
of $DIFF, $GIT_TEST_CMP and friends.

Noticed and initial patch provided by Thomas Rast, alternative solution
suggested by Brandon Casey, which this patch implements.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Thomas Rast <trast@student.ethz.ch>
Makefile
t/test-lib.sh