aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-12-17 14:18:42 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-18 08:18:13 +0900
commitbd6457cfa3f5216700da0ef6ee2ea6614c533a30 (patch)
tree6d45bd6dde3a6b27aabe8e4f8b5f0233050db090 /contrib/persistent-https
parentt0301: another fix for Windows compatibility (diff)
downloadgit-bd6457cfa3f5216700da0ef6ee2ea6614c533a30.tar.gz
git-bd6457cfa3f5216700da0ef6ee2ea6614c533a30.zip
t0600: fix incomplete prerequisite for a test case
The 'symref transaction supports symlinks' test case is guarded by the `SYMLINK` prerequisite because `core.prefersymlinkrefs = true` requires symbolic links to be supported. However, the `preferSymlinkRefs` feature is not supported on Windows, therefore this test case needs the `MINGW` prerequisite, too. There's a couple more cases where we set this config key: - In a subsequent test in t0600, but there we explicitly set it to "false". So this would naturally be supported by Windows. - In t7201 we set the value to `yes`, but we never verify that the written reference is a symbolic link in the first place. I guess that we could rather remove setting the configuration value here, as we are about to deprecate support for symrefs via symbolic links in the first place. But that's certainly outside of the scope of this patch. - In t9903 we do the same, but likewise, we don't check whether the written file is a symbolic link. Therefore this seems to be the only instance where the tests actually need to be adapted. Helped-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions