]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Move main code out to a control module
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2020 03:41:49 +0000 (21:41 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:46 +0000 (11:37 -0600)
commitf36537597583a75f357b3927b1e5d816822c90db
treebdcd7d258d0606fba19c2e33b9b5ea5263e35d35
parent2e9a0cdfa8456636392f24dcc47e3270bd4818b7
patman: Move main code out to a control module

To make testing easier, move the code out from main into a separate
'control' module and split it into four parts: setup, preparing patches,
checking patches and emailing patches.

Add comments and fix a few code-style issues while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py
tools/patman/control.py [new file with mode: 0644]
tools/patman/gitutil.py
tools/patman/main.py
tools/patman/series.py