)]}'
{
  "commit": "7c2fb74aea627b563f897ce0ba62658826a024c8",
  "tree": "e34026091614cdf7a32824c82a940a16370c6f03",
  "parents": [
    "3963fcefe8eb284aa26f0d01184a7dd10d468f2e"
  ],
  "author": {
    "name": "racequite",
    "email": "quiterace@gmail.com",
    "time": "Fri Jul 31 20:28:20 2026 +0800"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Thu Aug 27 07:55:58 2026 -0700"
  },
  "message": "term: process bytes returned with a read error\n\nThe io.Reader contract permits Read to return both data and a non-nil\nerror. readLine currently returns the error before processing the data,\nwhich can discard the final complete line when a reader returns data\nwith io.EOF.\n\nAppend returned bytes to the input buffer and save the accompanying\nerror. Report the error after the buffered input has been processed,\npreserving it across ReadLine calls when the input contains a complete\nline.\n\nAdd a regression test for a reader that returns \"line\\r\" and io.EOF in\nthe same call.\n\nFixes golang/go#80661\n\nChange-Id: I34ac28731ec40f3398b9c0990e19cc17b737ba9e\nReviewed-on: https://go-review.googlesource.com/c/term/+/808420\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nAuto-Submit: Alan Donovan \u003cadonovan@google.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6ec537cdc1a3edd0c29b5c2fd2f3c1692542c812",
      "old_mode": 33188,
      "old_path": "terminal.go",
      "new_id": "e8327c83fcaf8eafe4f7dd506e144e67b0e063dc",
      "new_mode": 33188,
      "new_path": "terminal.go"
    },
    {
      "type": "modify",
      "old_id": "7d0afd807e57ba1b4dabd07a853dd7faef121353",
      "old_mode": 33188,
      "old_path": "terminal_test.go",
      "new_id": "7d8d3d5bf88b504e2f4a7e69b84344b67e82f15e",
      "new_mode": 33188,
      "new_path": "terminal_test.go"
    }
  ]
}
