)]}'
{
  "commit": "4ec7ac101b737cd2add8369d0e04eaec1a9f0735",
  "tree": "42881c77ec55e5dfbf0519e33235c12fb544a0a6",
  "parents": [
    "b31ab939fe8e3cbe8be48dddd1c6ac0265991f45"
  ],
  "author": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Wed Dec 17 14:18:37 2025 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Dec 18 08:18:12 2025 +0900"
  },
  "message": "t9700: accommodate for Windows paths\n\nEver since fe53bbc9beb (Git.pm: Always set Repository to absolute path\nif autodetecting, 2009-05-07), the t9700 test _must_ fail on Windows\nbecause of that age-old Unix paths vs Windows paths problem.\n\nThe underlying root cause is that Git cannot run with a regular Win32\nvariant of Perl, the assumption that every path is a Unix path is just\ntoo strong in Git\u0027s Perl code.\n\nAs a consequence, Git for Windows is basically stuck with using the\nMSYS2 variant of Perl which uses a POSIX emulation layer (which is a\nfriendly fork of Cygwin) _and_ a best-effort Unix \u003c-\u003e Windows paths\nconversion whenever crossing the boundary between MSYS2 and regular\nWin32 processes. It is best effort only, though, using heuristics to\nautomagically convert correctly in most cases, but not in all cases.\n\nIn the context of this here patch, this means that asking `git.exe` for\nthe absolute path of the `.git/` directory will return a Win32 path\nbecause `git.exe` is a regular Win32 executable that has no idea about\nUnix-ish paths. But above-mentioned commit introduced a test that wants\nto verify that this path is identical to the one that the Git Perl\nmodule reports (which refuses to use Win32 paths and uses Unix-ish paths\ninstead). Obviously, this must fail because no heuristics can kick in at\nthat layer.\n\nThis test failure has not even been caught when Git introduced Windows\nsupport in its CI definition in 2e90484eb4a (ci: add a Windows job to\nthe Azure Pipelines definition, 2019-01-29), as all tests relying on\nPerl had to be disabled even from the start (because the CI runs would\notherwise have resulted in prohibitively long runtimes, not because\nWindows is super slow per se, but because Git\u0027s test suite keeps\ninsisting on using technology that requires a POSIX emulation layer,\nwhich _is_ super slow on Windows).\n\nTo work around this failure, let\u0027s use the `cygpath` utility to convert\nthe absolute `gitdir` path into the form that the Perl code expects.\n\nSigned-off-by: Johannes Schindelin \u003cjohannes.schindelin@gmx.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "58a9b328d558f37150ee84857abbf24848ba0abe",
      "old_mode": 33261,
      "old_path": "t/t9700/test.pl",
      "new_id": "570b0c5680fc73dd5b3b59ad92fcd09b4726a6b1",
      "new_mode": 33261,
      "new_path": "t/t9700/test.pl"
    }
  ]
}
