)]}'
{
  "commit": "ef6dd000ad813fc34a05c4b9055578df13a2eaa6",
  "tree": "93342005c406af3144d32a188a412a49d34b3291",
  "parents": [
    "eae7c16c3db2e746dd720c4e9ad7c1724d372b07"
  ],
  "author": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Wed Dec 17 14:18:46 2025 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Dec 18 08:18:14 2025 +0900"
  },
  "message": "t7800: work around the MSYS path conversion on Windows\n\nGit\u0027s test suite\u0027s relies on Unix shell scripting, which is\nunderstandable, of course, given Git\u0027s firm roots (and indeed, ongoing\nfocus) on Linux.\n\nThis fact, combined with Unix shell scripting\u0027s natural\nhabitat -- which is, naturally... *drumroll*... Unix --\noften has unintended side effects, where developers expect the test\nsuite to run in a Unix environment, which is an incorrect assumption.\n\nOne instance of this problem can be observed in the \u0027difftool --dir-diff\nhandles modified symlinks\u0027 test case in `t7800-difftool.sh`, which\nassumes that all absolute paths start with a forward slash. That\nassumption is incorrect in general, e.g. on Windows, where absolute\npaths have many shapes and forms, none of which starts with a forward\nslash.\n\nThe only saving grace is that this test case is currently not run on\nWindows because of the `SYMLINK` prerequisite. However, I am currently\nworking towards upstreaming symbolic link support from Git for Windows\nto upstream Git, which will put a crack into that saving grace.\n\nLet\u0027s change that test case so that it does not rely on absolute paths\n(which are passed to the \"external command\" `ls` as parameters and are\ntherefore part of its output, and which the test case wants to filter\nout before verifying that the output is as expected) starting with a\nforward slash. Let\u0027s instead rely on the much more reliable fact that\n`ls` will output the path in a line that ends in a colon, and simply\nfilter out those lines by matching said colon instead.\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": "9b74db55634b16d5d1eb2bb93471c8d62c73d93a",
      "old_mode": 33261,
      "old_path": "t/t7800-difftool.sh",
      "new_id": "bf0f67378dbb239075650dd7b8bff78b4374cf9a",
      "new_mode": 33261,
      "new_path": "t/t7800-difftool.sh"
    }
  ]
}
