import sys
original_hex = commit.original_id.decode("utf-8")
new_line = f"(cherry picked from commit {original_hex})\n".encode("utf-8")
commit.message += new_line
- contains complete history for just bunch of OpenWrt components, moving them to the root folder