)]}'
{
  "commit": "32cdc8c0833f7ea7355b90e226d0eced2620cf6f",
  "tree": "f525f6d48db27d59d13e026bdaa0dc9aab854c61",
  "parents": [
    "2c13f66e604c397a46e967d1c5b0da360dd947da"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Wed Oct 07 14:10:43 2026 +0200"
  },
  "committer": {
    "name": "Matthias Sohn",
    "email": "matthias.sohn@sap.com",
    "time": "Wed Oct 07 22:11:23 2026 +0200"
  },
  "message": "DiffToolTest: don\u0027t assume temp files use java.io.tmpdir\n\ntestToolCached compared the temp file path that \"git difftool --staged\"\ncreates against System.getProperty(\"java.io.tmpdir\"). Inside the\nSurefire fork those two name different directories. In order:\n\n- the fork starts with -Djava.io.tmpdir\u003d${project.build.directory}\n  from the pgm.test pom, so java.io.tmpdir is \u003cmodule\u003e/target at startup\n- File.createTempFile captures that startup value and writes under\n  \u003cmodule\u003e/target\n- Maven is run with -Djava.io.tmpdir\u003d\u003cdir\u003e (as CI does), and Surefire\n  applies it with System.setProperty after the fork has started\n- System.getProperty therefore now returns \u003cdir\u003e, not \u003cmodule\u003e/target\n- the test expects \u003cdir\u003e/\u003cname\u003e_REMOTE_* but the file is under\n  \u003cmodule\u003e/target, so the match fails\n\nThis surfaced with the Java 17 -\u003e 25 bump: on Java 17\nFile.createTempFile read java.io.tmpdir live and so agreed with\nSystem.getProperty; since Java 21 it uses the value captured at JVM\nstartup, so the two diverge once Surefire changes the property after\nthe fork has started.\n\nNeutralize this JDK behavioral change by making no assumption about\nwhere the temporary directory comes from: match only the file name\npattern, not its directory, so the test harness is JDK-agnostic.\n\nChange-Id: I9c48f8c449301230f5a3a71b4ca98c1be911c8d6\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f0908cebc469b2220f6f030f3b9fcc59817994d3",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/DiffToolTest.java",
      "new_id": "732b7031a5cb8f64016c29c4d330cb3690d74c91",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/DiffToolTest.java"
    }
  ]
}
