Add JSON support for +log
JSON objects returned are of the form:
{
"log": [
{
"commit": "1443f510ae12a33cd6c8640c36e89382509a767d",
"parents": [
"823724aac94f9a72a33703fbb6e17176b68148ca"
],
"author": {
"name": "Dave Borowitz",
"email": "dborowitz@google.com",
"time": "Tue Aug 13 10:22:41 2013 -0700"
},
"committer": {
"name": "Dave Borowitz",
"email": "dborowitz@google.com",
"time": "Tue Aug 13 10:22:44 2013 -0700"
},
"message": "Clean up some long lines\n\nChange-Id: I563dc712da704fc05bd8575d4caafec06930f366\n"
},
...
],
"previous": "5d48443a9830def64e40ed469d10a941fa5e8465",
"next": "3b086a7cf401e66aac6d243439a08a467b58006a"
}
where "previous" and "next" are the values to pass to ?s= for
paginated results.
Change-Id: I6361f2d5ac87478be0e7b4c18903eb1d55ffb714
2 files changed