We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ca744 commit 4e95b99Copy full SHA for 4e95b99
hls-test-utils/src/Test/Hls.hs
@@ -62,7 +62,7 @@ defaultTestRunner :: TestTree -> IO ()
62
defaultTestRunner = defaultMainWithRerun . adjustOption (const $ mkTimeout 600000000)
63
64
gitDiff :: FilePath -> FilePath -> [String]
65
-gitDiff fRef fNew = ["git", "diff", "--no-index", "--text", "--exit-code", fRef, fNew]
+gitDiff fRef fNew = ["git", "-c", "core.fileMode=false", "diff", "--no-index", "--text", "--exit-code", fRef, fNew]
66
67
goldenGitDiff :: TestName -> FilePath -> IO ByteString -> TestTree
68
goldenGitDiff name = goldenVsStringDiff name gitDiff
0 commit comments