diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-28 07:02:20 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-10 11:57:56 -0600 |
commit | 60218f07f357aeae34b524f0cdf2e512bda44645 (patch) | |
tree | 920ee8a44559fc0e6ff976ba29920d622c87c9bc /tools/patman/control.py | |
parent | 5a7ad313a12e9667001a926f55c9e4516f128638 (diff) |
patman: Show base commit on each patch when no cover letter
If a series is sent without a cover letter, there is no indication of
the base commit. Add support for this, since single patches of small
series may not always have a cover letter.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/control.py')
-rw-r--r-- | tools/patman/control.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/control.py b/tools/patman/control.py index fb5a4246ced..b8a45912058 100644 --- a/tools/patman/control.py +++ b/tools/patman/control.py @@ -63,7 +63,8 @@ def prepare_patches(col, branch, count, start, end, ignore_binary, signoff, branch, start, to_do, ignore_binary, series, signoff) # Fix up the patch files to our liking, and insert the cover letter - patchstream.fix_patches(series, patch_files, keep_change_id) + patchstream.fix_patches(series, patch_files, keep_change_id, + insert_base_commit=not cover_fname) if cover_fname and series.get('cover'): patchstream.insert_cover_letter(cover_fname, series, to_do) return series, cover_fname, patch_files |