)]}'
{
  "commit": "c2d2d173ae6ba4b354a36b3ba732c8a11379d6ec",
  "tree": "837d0f6dd3b85c6a826050a4106956ecc7d7541d",
  "parents": [
    "d11968661e641ea81f4c1938ae9f73a54107dc62"
  ],
  "author": {
    "name": "Patrick Steinhardt",
    "email": "ps@pks.im",
    "time": "Thu Jun 04 12:07:37 2026 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Jun 05 21:49:00 2026 +0900"
  },
  "message": "t/lib-git-p4: silence output when killing p4d and its watchdog\n\nWhen stopping the p4d watchdog process via \"kill -9\", the shell may\nprint a job-control notification like:\n\n  ./test-lib.sh: line 1269: 57960 Killed: 9               while true; do\n      if test $nr_tries_left -eq 0; then\n          kill -9 $p4d_pid; exit 1;\n      fi; sleep 1; nr_tries_left\u003d$(($nr_tries_left - 1));\n  done 2\u003e /dev/null 4\u003e\u00262  (wd: ~)\n\nThis message is printed asynchronously by the shell when it reaps the\nprocess. While harmless right now, this will cause breakage once we\nenable strict parsing of the TAP protocol in a subsequent commit.\n\nFix this by using `wait` so that we can synchronously reap the watchdog\nprocess and swallow the diagnostic.\n\nWhile at it, deduplicate the logic we have in `stop_p4d_and_watchdog ()`\nand `stop_and_cleanup_p4d ()`.\n\nSigned-off-by: Patrick Steinhardt \u003cps@pks.im\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d22e9c684a495ae3f31b51de2ef29320cf7c049d",
      "old_mode": 33188,
      "old_path": "t/lib-git-p4.sh",
      "new_id": "910886818768f093e72f4f850a6ff8dfdf17e53a",
      "new_mode": 33188,
      "new_path": "t/lib-git-p4.sh"
    }
  ]
}
