)]}'
{
  "commit": "ecb85df213405b7d32e4d73cb5bbaace2ec88881",
  "tree": "d24b29610eff1945c3f6cfd3ce68452689fdfe79",
  "parents": [
    "a95e85b341fd3d114b379054ba41d2d1006beee4"
  ],
  "author": {
    "name": "Alex Brainman",
    "email": "alex.brainman@gmail.com",
    "time": "Sun Jan 19 09:47:15 2020 +1100"
  },
  "committer": {
    "name": "Alex Brainman",
    "email": "alex.brainman@gmail.com",
    "time": "Sat Feb 08 06:05:01 2020 +0000"
  },
  "message": "ssh/terminal: adjust ReadConsole rules on windows\n\nCL 212377 changed end of input character on windows - from \\n to \\r.\nBut CL 212377 did not adjust ReadConsole accordingly. For example,\nafter CL 212377 \\n was still used to end of password processing,\nand \\r was ignored.\n\nThis CL swaps these rules - \\r is now used to end password processing,\nand \\n are ignored. The change only affects windows, all non windows\ncode should work as before.\n\nThis CL also adjusts TestReadPasswordLineEnd to fit new rules.\n\nFixes golang/go#36609\n\nChange-Id: I027bf80d10e7d4d4b17ff0264935d14b8bea9097\nReviewed-on: https://go-review.googlesource.com/c/crypto/+/215417\nRun-TryBot: Alex Brainman \u003calex.brainman@gmail.com\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Filippo Valsorda \u003cfilippo@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dd7378c8a34f29be9723d771cefa4d7cb6bcbd74",
      "old_mode": 33188,
      "old_path": "ssh/terminal/terminal.go",
      "new_id": "d1b4fca3a9493563cd4c2f247693ffe4ef1e6771",
      "new_mode": 33188,
      "new_path": "ssh/terminal/terminal.go"
    },
    {
      "type": "modify",
      "old_id": "4e7a0c658f3362cb3283bb8bacdbb68c223ea318",
      "old_mode": 33188,
      "old_path": "ssh/terminal/terminal_test.go",
      "new_id": "2a2faccd0326e713be3fa340605640af17c514f5",
      "new_mode": 33188,
      "new_path": "ssh/terminal/terminal_test.go"
    }
  ]
}
