)]}'
{
  "commit": "91e6a645e75026a42977e37f24fca3f1fe54de58",
  "tree": "e4baf41f8c9baadecaef4a5c3e3f1b3175ed3ef6",
  "parents": [
    "ccfcaf399ffcc91553395a8de8e833e7685e7cc2"
  ],
  "author": {
    "name": "Johannes Sixt",
    "email": "j6t@kdbg.org",
    "time": "Mon Oct 20 11:40:08 2025 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Oct 20 09:16:49 2025 -0700"
  },
  "message": "t7500: fix tests with absolute path following \":(optional)\" on Windows\n\nOn Windows, the MSYS layer translates absolute path names generated by\na shell script from the POSIX style /c/dir/file to the Windows style\nC:/dir/file form that is understood by git.exe. This happens only when\nthe absolute path stands on its own as a program argument or a value of\nan environment variable.\n\nThe earlier commits 749d6d166d (config: values of pathname type can be\nprefixed with :(optional), 2025-09-28) and ccfcaf399f (parseopt: values\nof pathname type can be prefixed with :(optional), 2025-09-28) added\ntest cases where \":(optional)\" is inserted before an absolute path.\n$PWD is used to construct the absolute paths, which gives the POSIX\nform, and the result is \":(optional)/c/dir/template\". Such command line\narguments are no longer recognized as absolute paths and do not undergo\ntranslation.\n\nExisting test cases that expect that the specified file does not exist\nare not incorrect (after all, git.exe will not find /c/dir/template).\nYet, they are conceptually incorrect. That the use of $PWD is erroneous\nis revealed by a test case that expects that the optional file exists.\nSince no such test case is present, add one. Use \"$(pwd)\" to generate\nthe absolute paths, so that the command line arguments become\n\":(optional)C:/dir/template\".\n\nSigned-off-by: Johannes Sixt \u003cj6t@kdbg.org\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1935171d684bee06e6b65de6247faa6ae0eba53f",
      "old_mode": 33261,
      "old_path": "t/t7500-commit-template-squash-signoff.sh",
      "new_id": "66aff8e0976e799819126b863e7dfdb4c8993fc3",
      "new_mode": 33261,
      "new_path": "t/t7500-commit-template-squash-signoff.sh"
    }
  ]
}
