On Tue, Aug 17, 2021 at 12:31:29PM +0000, Han-Wen Nienhuys via GitGitGadget wrote: > diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh > index cc4b10236e2..dd17718160a 100755 > --- a/t/t3200-branch.sh > +++ b/t/t3200-branch.sh > @@ -109,6 +109,20 @@ test_expect_success 'git branch -m n/n n should work' ' > git reflog exists refs/heads/n > ' > > +test_expect_success 'git branch -m with symlinked .git/refs' ' > + git init subdir && > + test_when_finished "rm -rf subdir" && > + (cd subdir && > + for d in refs objects packed-refs ; do > + rm -rf .git/$d && > + ln -s ../../.git/$d .git/$d ; done ) && > + git --git-dir subdir/.git/ branch rename-src && > + expect=$(git rev-parse rename-src) && > + git --git-dir subdir/.git/ branch -m rename-src rename-dest && > + test $(git rev-parse rename-dest) = "$expect" && > + git branch -D rename-dest > +' This test presumably needs the SYMLINKS prerequisite. I noticed that the Windows CI for "next" is now failing. -Peff