)]}'
{
  "commit": "f3ff6fb5db68bcd460e9880d5fb4902520dd645b",
  "tree": "40c06df6cc38a07f8e4daebeebf0d35bd8d32e27",
  "parents": [
    "d2a04648a5dbc3d1d043b35257364f0197d4d868"
  ],
  "author": {
    "name": "Masahiro Yamada",
    "email": "yamada.masahiro@socionext.com",
    "time": "Thu Feb 08 14:56:40 2018 +0900"
  },
  "committer": {
    "name": "Masahiro Yamada",
    "email": "yamada.masahiro@socionext.com",
    "time": "Fri Feb 09 04:10:10 2018 +0900"
  },
  "message": "kconfig: echo stdin to stdout if either is redirected\n\nIf stdio is not tty, conf_askvalue() puts additional new line to\nprevent prompts from being concatenated into a single line.  This\ncare is missing in conf_choice(), so a \u0027choice\u0027 prompt and the next\nprompt are shown in the same line.\n\nMove the code into xfgets() to cater to all cases.  To improve this\nmore, let\u0027s echo stdin to stdout.  This clarifies what keys were\ninput from stdio and the stdout looks like as if it were from tty.\n\nI removed the isatty(2) check since stderr is unrelated here.\n\nSigned-off-by: Masahiro Yamada \u003cyamada.masahiro@socionext.com\u003e\nReviewed-by: Ulf Magnusson \u003culfalizer@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "92111a07768051cee177ffd46a6f9ebd6299fea2",
      "old_mode": 33188,
      "old_path": "scripts/kconfig/conf.c",
      "new_id": "fe59f6df4b45b79ed54f3a4d175ef3f327bec5ea",
      "new_mode": 33188,
      "new_path": "scripts/kconfig/conf.c"
    }
  ]
}
