)]}'
{
  "commit": "84062dd3a6a045395a43de1d9adc9b8eb2d1426e",
  "tree": "708038ff4d462f87fe6d3a26a99266172d9afd90",
  "parents": [
    "4418a2b904805814bbd14b555d6add6a175f49f3"
  ],
  "author": {
    "name": "Sam Ravnborg",
    "email": "sam@ravnborg.org",
    "time": "Sat Aug 14 23:22:16 2010 +0200"
  },
  "committer": {
    "name": "Michal Marek",
    "email": "mmarek@suse.cz",
    "time": "Sun Aug 15 00:32:12 2010 +0200"
  },
  "message": "kconfig: fix savedefconfig with choice marked optional\n\nsavedefconfig failed to save the correct minimal config\nwhen it encountered a choice marked optional.\n\nConsider following minimal configuration:\n$cat Kconfig\nchoice\n\tprompt \"choice\"\n\toptional\n\nconfig A\n\tbool \"a\"\n\nconfig B\n\tbool \"b\"\n\nendchoice\n\n$cat .config | grep -v ^#\nCONFIG_A\u003dy\n\n$conf --savedefconfig\u003ddefconfig Kconfig\n\nwould before this fix result in an empty file, because\nkconfig would assume that CONFIG_A\u003dy is a default value.\nBut because the choice is optional the default is that\nboth A and B are \u003dn.\n\nFix so we handle optional choices correct.\n\nSigned-off-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\nSigned-off-by: Michal Marek \u003cmmarek@suse.cz\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c39327e60ea499919937fae08a8d5bc5dc9c4fd9",
      "old_mode": 33188,
      "old_path": "scripts/kconfig/confdata.c",
      "new_id": "515253fe46cfdb3d034f983090abfeff7c8c0aa2",
      "new_mode": 33188,
      "new_path": "scripts/kconfig/confdata.c"
    }
  ]
}
