)]}'
{
  "commit": "0642912e83168b9036d81e8a9950352d233affcb",
  "tree": "dedd33995145b8d2ba8e2d863ad3231a68d22907",
  "parents": [
    "573269a87c89ae866db556428fe9ea63d6c4db5f"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Jan 24 15:29:49 2022 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Feb 07 16:52:47 2022 +0000"
  },
  "message": "gdb/python: allow Value.format_string to return styled output\n\nAdd a new argument to the gdb.Value.format_string method, \u0027styling\u0027.\nThis argument is False by default.\n\nWhen this argument is True, then the returned string can contain output\nstyling escape sequences.\n\nWhen this argument is False, then the returned string will not contain\nany styling escape sequences.\n\nIf the returned string is going to be printed to the user, then it is\noften nice to retain the GDB styling.\n\nFor the testing, we need to adjust the TERM environment variable, as\nwe do for all the styling tests.  I\u0027m now running all of the C tests\nin gdb.python/py-format-string.exp in an environment where styling\ncould be generated, but only my new test should actually produce\nstyled output, hopefully this will catch the case where a bug might\ncause format_string to always produce styled output.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c739930bfc7a665275e0f54d00a28706a0728279",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "b4a515120db4950b5692d429c5294d9a23091f95",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "da88b8a7690f85a6ac9fa9f07763d9c98c693d76",
      "old_mode": 33188,
      "old_path": "gdb/doc/python.texi",
      "new_id": "c1a3f5f2a7eca65e9cec61594d14735bd6c757bb",
      "new_mode": 33188,
      "new_path": "gdb/doc/python.texi"
    },
    {
      "type": "modify",
      "old_id": "6401d96897f40d9b8e1477856bed3fcf8f8eea73",
      "old_mode": 33188,
      "old_path": "gdb/python/py-value.c",
      "new_id": "b546344da955054f750151ab3e3e364dd1ea9aae",
      "new_mode": 33188,
      "new_path": "gdb/python/py-value.c"
    },
    {
      "type": "modify",
      "old_id": "4c78bed120324489d4ba6fa954924edba0e9b66a",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-format-string.exp",
      "new_id": "ac1353ea2e3b69cf75a69577b35f7258d25c55e4",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-format-string.exp"
    }
  ]
}
