Lines Matching defs:commit
158 json_t *data, *sha, *commit, *message;
164 fprintf(stderr, "error: commit data %d is not an object\n", (int)(i + 1));
172 fprintf(stderr, "error: commit %d: sha is not a string\n", (int)(i + 1));
176 commit = json_object_get(data, "commit");
177 if(!json_is_object(commit))
179 fprintf(stderr, "error: commit %d: commit is not an object\n", (int)(i + 1));
184 message = json_object_get(commit, "message");
187 fprintf(stderr, "error: commit %d: message is not a string\n", (int)(i + 1));