mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-04 03:33:01 -06:00
Merge branch 'run-t5601-and-t7406-with-symlinks-on-windows-10'
This topic branch contains a patch that made it into Git for Windows v2.45.1 but not into Git v2.45.1 (because the latter does not come with symlink support on Windows). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
commit
345f062ac7
@ -7,6 +7,16 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
|
||||
|
||||
. ./test-lib.sh
|
||||
|
||||
# This test script contains test cases that need to create symbolic links. To
|
||||
# make sure that these test cases are exercised in Git for Windows, where (for
|
||||
# historical reasons) `ln -s` creates copies by default, let's specifically ask
|
||||
# for `ln -s` to create symbolic links whenever possible.
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
MSYS=${MSYS+$MSYS }winsymlinks:nativestrict
|
||||
export MSYS
|
||||
fi
|
||||
|
||||
X=
|
||||
test_have_prereq !MINGW || X=.exe
|
||||
|
||||
|
||||
@ -14,6 +14,15 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
|
||||
|
||||
. ./test-lib.sh
|
||||
|
||||
# This test script contains test cases that need to create symbolic links. To
|
||||
# make sure that these test cases are exercised in Git for Windows, where (for
|
||||
# historical reasons) `ln -s` creates copies by default, let's specifically ask
|
||||
# for `ln -s` to create symbolic links whenever possible.
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
MSYS=${MSYS+$MSYS }winsymlinks:nativestrict
|
||||
export MSYS
|
||||
fi
|
||||
|
||||
compare_head()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user