)]}'
{
  "commit": "ca56dc098caf93b5437cd6c4ee49f02aa18f84d6",
  "tree": "0bc689836c48cf91fcc5ca37db7753b5fa7d9fa3",
  "parents": [
    "6712d85852b348d07301c7480f7eb3312d329143"
  ],
  "author": {
    "name": "Josh Triplett",
    "email": "josh@joshtriplett.org",
    "time": "Fri Mar 23 15:02:21 2012 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Mar 23 16:58:37 2012 -0700"
  },
  "message": "checkpatch: check for quoted strings broken across lines\n\ncheckpatch already makes an exception to the 80-column rule for quoted\nstrings, and Documentation/CodingStyle recommends not splitting quoted\nstrings across lines, because it breaks the ability to grep for the\nstring.  Rather than just permitting this, actively warn about quoted\nstrings split across lines.\n\nTest case:\n\nvoid context(void)\n{\n\tstruct { unsigned magic; const char *strdata; } foo[] \u003d {\n\t\t{ 42, \"these strings\"\n\t\t      \"do not produce warnings\" },\n\t\t{ 256, \"though perhaps\"\n\t\t       \"they should\" },\n\t};\n\tpr_err(\"this string\"\n\t       \" should produce a warning\\n\");\n\tpr_err(\"this multi-line string\\n\"\n\t       \"should not produce a warning\\n\");\n\tasm (\"this asm\\n\\t\"\n\t     \"should not produce a warning\");\n}\n\nResults of checkpatch on that test case:\n\nWARNING: quoted string split across lines\n+\t       \" should produce a warning\\n\");\n\ntotal: 0 errors, 1 warnings, 15 lines checked\n\nSigned-off-by: Josh Triplett \u003cjosh@joshtriplett.org\u003e\nAcked-by: Joe Perches \u003cjoe@perches.com\u003e\nCc: Andy Whitcroft \u003capw@canonical.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a2f54a0bd351802e214f136eebd2ad76f39015a",
      "old_mode": 33261,
      "old_path": "scripts/checkpatch.pl",
      "new_id": "de639eeeed506b76b54220e7e7f86ed879af02a1",
      "new_mode": 33261,
      "new_path": "scripts/checkpatch.pl"
    }
  ]
}
