]> git.ipfire.org Git - thirdparty/gcc.git/commit - contrib/mklog.py
mklog: Add --append option to auto add generate ChangeLog to patch file
authorLehua Ding <lehua.ding@rivai.ai>
Wed, 12 Jul 2023 03:36:40 +0000 (11:36 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Thu, 13 Jul 2023 03:28:31 +0000 (11:28 +0800)
commit7f0700a689db8828e81e5dcaf7f6d474f2c4ec27
tree3bd5a6f56ecf97fb9f5365541f08f284fd34d959
parentf048af2aa3dccec4d28c32056a1d5972f4049806
mklog: Add --append option to auto add generate ChangeLog to patch file

This tiny patch add --append option to mklog.py that support add generated
change-log to the corresponding patch file. With this option there is no need
to manually copy the generated change-log to the patch file. e.g.:

Run `mklog.py --append /path/to/this/patch` will add the generated change-log
to the right place of the /path/to/this/patch file.

contrib/ChangeLog:

* mklog.py: Add --append option.

Signed-off-by: Lehua Ding <lehua.ding@rivai.ai>
contrib/mklog.py