mirror of
https://github.com/git/git.git
synced 2026-04-05 14:30:10 +02:00
Merge branch 'gv/portable' into next
* gv/portable: test-lib: use DIFF definition from GIT-BUILD-OPTIONS
This commit is contained in:
@@ -76,16 +76,6 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
|
||||
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
|
||||
export EDITOR
|
||||
|
||||
if test -z "$GIT_TEST_CMP"
|
||||
then
|
||||
if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT"
|
||||
then
|
||||
GIT_TEST_CMP="$DIFF -c"
|
||||
else
|
||||
GIT_TEST_CMP="$DIFF -u"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Protect ourselves from common misconfiguration to export
|
||||
# CDPATH into the environment
|
||||
unset CDPATH
|
||||
@@ -749,6 +739,16 @@ export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_CONFIG_NOGLOB
|
||||
|
||||
. ../GIT-BUILD-OPTIONS
|
||||
|
||||
if test -z "$GIT_TEST_CMP"
|
||||
then
|
||||
if test -n "$GIT_TEST_CMP_USE_COPIED_CONTEXT"
|
||||
then
|
||||
GIT_TEST_CMP="$DIFF -c"
|
||||
else
|
||||
GIT_TEST_CMP="$DIFF -u"
|
||||
fi
|
||||
fi
|
||||
|
||||
GITPERLLIB=$(pwd)/../perl/blib/lib:$(pwd)/../perl/blib/arch/auto/Git
|
||||
export GITPERLLIB
|
||||
test -d ../templates/blt || {
|
||||
|
||||
Reference in New Issue
Block a user