Tests: make sure that $DIFF is non-empty

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2010-06-11 18:49:06 +02:00
committed by Pat Thoyts
parent 396f077af9
commit 843dc1b7af

View File

@@ -870,6 +870,8 @@ export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOB
. "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS
DIFF="${DIFF:-diff}"
if test -z "$GIT_TEST_CMP"
then
if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT"