)]}' { "commit": "3f3d572e9618f268b19cc54856deee4c96180e4c", "tree": "26b545a658bca8ead3328d3a61a6f969cf779433", "parents": [ "c167df08a8550d8c6c7ccf12b7df4fa6bfc6d432" ], "author": { "name": "Marco Miller", "email": "marco.miller@ericsson.com", "time": "Wed May 04 15:34:42 2016 -0400" }, "committer": { "name": "David Pursehouse", "email": "dpursehouse@collab.net", "time": "Thu May 26 01:41:16 2016 +0000" }, "message": "Fix NPE upon commit that is not a patch set thus no change note involved\n\nBefore this fix, NullPointerException-s showed in error_log when \u0027ps\u0027\nwas null. Creating a project with an empty commit led to that NPE, among\nother likely cases.\n\nFix this so no attempt at creating a change note is made for a commit\nthat does not involve a patch set.\n\nLog an info when such direct-push cases happen.\n\nChange-Id: I455e0a4d58e78168ba4f5c55cd272232d4120ab3\n", "tree_diff": [ { "type": "modify", "old_id": "3ca3d40d0d086bd3f5c631d2479bdbcdabe70992", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java", "new_id": "249700aae396037da5464ff2390ad9eeb2b2fabc", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java" } ] }