Lines Matching refs:commit
54 "sha": "<the commit ID>",
55 "commit": {
56 "message": "<the commit message>",
62 "sha": "<the commit ID>",
63 "commit": {
64 "message": "<the commit message>",
106 first newline in the commit message::
189 json_t *data, *sha, *commit, *message;
195 fprintf(stderr, "error: commit data %d is not an object\n", i + 1);
206 Next we'll extract the commit ID (a hexadecimal SHA-1 sum),
207 intermediate commit info object, and the commit message from that
213 fprintf(stderr, "error: commit %d: sha is not a string\n", i + 1);
218 commit = json_object_get(data, "commit");
219 if(!json_is_object(commit))
221 fprintf(stderr, "error: commit %d: commit is not an object\n", i + 1);
226 message = json_object_get(commit, "message");
229 fprintf(stderr, "error: commit %d: message is not a string\n", i + 1);
235 And finally, we'll print the first 8 characters of the commit ID and
236 the first line of the commit message. A C-style string is extracted
281 Jansson was used to decode the JSON response and to extract the commit