)]}' { "commit": "fc39c552cffb94d15797d02e272fdc543c35b6bd", "tree": "db137cd3077951eb4e38c5397f188c9869d97d1e", "parents": [ "d7d303c48fdd0c64d822245b9262266d13559991" ], "author": { "name": "Jacek Centkowski", "email": "geminica.programs@gmail.com", "time": "Mon Nov 09 20:33:47 2015 +0100" }, "committer": { "name": "Jacek Centkowski", "email": "geminica.programs@gmail.com", "time": "Fri Aug 19 08:24:00 2016 +0200" }, "message": "Add user ref operation validation example.\n\nThe following example blocks any update to any ref that starts with\n\u0027refs/heads/protected-\u0027 prefix if it is performed by user that has\nno \u0027Administrate Server\u0027 capability.\n\nChange-Id: If5373d238a4d30fc450a4114e6af51d6536ae91a\nSigned-off-by: Jacek Centkowski \u003cgeminica.programs@gmail.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "297e1e8362edddda851eedcba8dfd915d81780ff", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java", "new_id": "b17c87196190a3d2999427687c82ac24780f4e8c", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "2755902fd3d24ed11d045ed8c982559ae7056791", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/cookbook/RefOperationValidationExample.java" } ] }