)]}'
{
  "commit": "f653398c86a1c104f0992bd788dd4bb065449be4",
  "tree": "69cd79aaca48c2e1bdf9a48b968772347dbd5df2",
  "parents": [
    "4e62b0930223fe2f61094ceb1bbb31b3fe4251c2"
  ],
  "author": {
    "name": "André Goddard Rosa",
    "email": "andre.goddard@gmail.com",
    "time": "Mon Dec 14 18:01:04 2009 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Dec 15 08:53:32 2009 -0800"
  },
  "message": "string: factorize skip_spaces and export it to be generally available\n\nOn the following sentence:\n    while (*s \u0026\u0026 isspace(*s))\n        s++;\n\nIf *s \u003d\u003d 0, isspace() evaluates to ((_ctype[*s] \u0026 0x20) !\u003d 0), which\nevaluates to ((0x08 \u0026 0x20) !\u003d 0) which equals to 0 as well.\nIf *s \u003d\u003d 1, we depend on isspace() result anyway. In other words,\n\"a char equals zero is never a space\", so remove this check.\n\nAlso, *s !\u003d 0 is most common case (non-null string).\n\nFixed const return as noticed by Jan Engelhardt and James Bottomley.\nFixed unnecessary extra cast on strstrip() as noticed by Jan Engelhardt.\n\nSigned-off-by: André Goddard Rosa \u003candre.goddard@gmail.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": "6dec944a370b23d983c285002c652741dd698b53",
      "old_mode": 33188,
      "old_path": "include/linux/ctype.h",
      "new_id": "a3d6ee0044f974ebf12236de4c5ecd5678d26a6c",
      "new_mode": 33188,
      "new_path": "include/linux/ctype.h"
    },
    {
      "type": "modify",
      "old_id": "b8508868d5ad428ab0c220ee2b39296e92eceb89",
      "old_mode": 33188,
      "old_path": "include/linux/string.h",
      "new_id": "168dad11ae03cff5861161f14a3714b7984f788d",
      "new_mode": 33188,
      "new_path": "include/linux/string.h"
    },
    {
      "type": "modify",
      "old_id": "e96421ab9a9a0a1a8ddd4496e32789acdc4b0749",
      "old_mode": 33188,
      "old_path": "lib/string.c",
      "new_id": "3a912a4e9a632a3cf63d1da2f4da6dd502e82ff5",
      "new_mode": 33188,
      "new_path": "lib/string.c"
    }
  ]
}
