mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
a5b40a2845
Add a new "event": "command", which is emitted at when all command arguments have been processed. Additional fields: "name": Name of the primary command (ex: repo, git) "subcommands"': List of the sub-commands once command-line arguments are processed Examples: Command: repo --version Event: {"event": "command", <common fields>, "name": "repo", "subcommands": ["version"] } Bug: [google internal] b/178507266 Testing: - Unit tests - Verified repo git trace2 logs had expected data Change-Id: I825bd0ecedee45135382461a4ba10f987f09aef3 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/300343 Reviewed-by: Ian Kasprzak <iankaz@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Raman Tenneti <rtenneti@google.com> |
||
---|---|---|
.. | ||
fixtures | ||
test_editor.py | ||
test_error.py | ||
test_git_command.py | ||
test_git_config.py | ||
test_git_superproject.py | ||
test_git_trace2_event_log.py | ||
test_hooks.py | ||
test_manifest_xml.py | ||
test_project.py | ||
test_subcmds_init.py | ||
test_subcmds.py | ||
test_wrapper.py |