aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2025-12-17 14:18:40 +0000
committerJunio C Hamano <gitster@pobox.com>2025-12-18 08:18:13 +0900
commit5e8e7e47e0029335bb8b51333d56077d72b862a9 (patch)
tree1a3621fa1ebf374d0c7f90b5cc673af80f432896 /contrib/persistent-https
parentmingw: special-case `open(symlink, O_CREAT | O_EXCL)` (diff)
downloadgit-5e8e7e47e0029335bb8b51333d56077d72b862a9.tar.gz
git-5e8e7e47e0029335bb8b51333d56077d72b862a9.zip
t0001: handle `diff --no-index` gracefully
The test case 're-init to move gitdir symlink' wants to compare the contents of `newdir/.git`, which is a symbolic link pointing to a file. However, `git diff --no-index`, which is used by `test_cmp` on Windows, does not resolve symlinks; It shows the symlink _target_ instead (with a file mode of 120000). That is totally unexpected by the test case, which as a consequence fails, meaning that it's a bug in the test case itself. Co-authored-by: Junio C Hamano <gitster@pobox.com> 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