)]}' { "commit": "a5b40a28450c965bb4b77656820fdd0a78768fe4", "tree": "b7ecf5bad6ea40c131f4736065ff748ab995ef86", "parents": [ "511a0e54f5801a3f36c00fac478a596d83867d10" ], "author": { "name": "Raman Tenneti", "email": "rtenneti@google.com", "time": "Tue Mar 16 14:24:14 2021 -0700" }, "committer": { "name": "Raman Tenneti", "email": "rtenneti@google.com", "time": "Thu Mar 18 14:58:24 2021 +0000" }, "message": "repo: Add a new \"command\" event type to git trace2 logging in repo.\n\nAdd a new \"event\": \"command\", which is emitted at when all command\narguments have been processed.\n\nAdditional fields:\n\n\"name\": Name of the primary command (ex: repo, git)\n\n\"subcommands\"\u0027: List of the sub-commands once command-line arguments\n are processed\n\nExamples:\n\nCommand: repo --version\n\nEvent: {\"event\": \"command\", \u003ccommon fields\u003e,\n \"name\": \"repo\",\n\t\"subcommands\": [\"version\"]\n\t}\n\nBug: [google internal] b/178507266\nTesting:\n- Unit tests\n- Verified repo git trace2 logs had expected data\n\nChange-Id: I825bd0ecedee45135382461a4ba10f987f09aef3\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/300343\nReviewed-by: Ian Kasprzak \u003ciankaz@google.com\u003e\nReviewed-by: Mike Frysinger \u003cvapier@google.com\u003e\nTested-by: Raman Tenneti \u003crtenneti@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "8c33d80b0dd144404d76dbfc1ac9d53033df482a", "old_mode": 33188, "old_path": "git_trace2_event_log.py", "new_id": "8f12d1a91cc84760487ca6599a392e3d4253202b", "new_mode": 33188, "new_path": "git_trace2_event_log.py" }, { "type": "modify", "old_id": "ba5d9d20202b6d1f34488aa0c9c1c0b4d56eed2a", "old_mode": 33261, "old_path": "main.py", "new_id": "9abda6a9a5192849ab204cb8aab29845796d0ac3", "new_mode": 33261, "new_path": "main.py" }, { "type": "modify", "old_id": "3c5cb150bb251d48514b1cefa893a30e4ec20ee5", "old_mode": 33188, "old_path": "tests/test_git_trace2_event_log.py", "new_id": "4a3a4c48eca73c9582e7b29b689fcd467e70ff7e", "new_mode": 33188, "new_path": "tests/test_git_trace2_event_log.py" } ] }