summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorRemy Bohmer <github@bohmer.net>2020-08-01 18:36:44 +0200
committerMike Frysinger <vapier@google.com>2020-11-23 09:59:16 +0000
commit7f7acfe9fd93cfd4a697f2bc851d1b8182f6336e (patch)
tree646e53f6ccbedd55105017797b6f5b883909a3dc /manifest_xml.py
parent169b0218b384f04426d7509757a8684f957967bf (diff)
downloadgit-repo-7f7acfe9fd93cfd4a697f2bc851d1b8182f6336e.tar.gz
Concentrate the RepoHook knowledge in the RepoHook class
The knowledge about running hooks and all its exception handling is scattered over multiple files. This makes the code harder to read, but also it requires duplication of logic in case other RepoHooks are added to different commands. This refactoring also creates uniform behavior of the hooks across multiple commands and it guarantees the re-use of the same arguments on all of them. Signed-off-by: Remy Bohmer <github@bohmer.net> Change-Id: Ia4d90eab429e4af00943306e89faec8db35ba29d Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/277562 Tested-by: Remy Bohmer <oss@bohmer.net> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions