)]}'
{
  "commit": "65b9f4791c24b09814ae51135e8dad283faed348",
  "tree": "9ae84eca0d844967570c49a136a2af8e3be07e12",
  "parents": [
    "b5abb655fab6145ff3728d4bdaea3648468590fc"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Tue Mar 17 09:48:05 2026 +0000"
  },
  "committer": {
    "name": "Kostiantyn Kostiuk",
    "email": "kkostiuk@redhat.com",
    "time": "Fri Mar 27 19:55:01 2026 +0200"
  },
  "message": "scripts/qemu-guest-agent/fsfreeze-hook: Avoid use of PIPESTATUS\n\nPIPESTATUS is a bash-specific construct, and this script is supposed\nto be POSIX shell. We only use it in one place, to capture the exit\nstatus of a command whose output we are piping to \u0027logger\u0027.\n\nReplace the PIPESTATUS usage with the trick described in\nhttps://unix.stackexchange.com/questions/14270/get-exit-status-of-process-thats-piped-to-another/70675#70675\nwhich uses a command-group to capture the status of the\nfirst process in the pipeline.\n\nCc: qemu-stable@nongnu.org\nFixes: 85978dfb6b1c133 (\"qemu-ga: Optimize freeze-hook script logic of logging error\")\nResolves: https://gitlab.com/qemu-project/qemu/-/work_items/3339\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nReviewed-by: Kostiantyn Kostiuk \u003ckkostiuk@redhat.com\u003e\nLink: https://lore.kernel.org/qemu-devel/20260317094806.1944053-3-peter.maydell@linaro.org\nSigned-off-by: Kostiantyn Kostiuk \u003ckkostiuk@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6e2d7588afe91b26a056c4a28347a1232dfdb4c1",
      "old_mode": 33261,
      "old_path": "scripts/qemu-guest-agent/fsfreeze-hook",
      "new_id": "21eb5c514573c5349a39804ba8ddf32bc829673e",
      "new_mode": 33261,
      "new_path": "scripts/qemu-guest-agent/fsfreeze-hook"
    }
  ]
}
