aboutsummaryrefslogtreecommitdiff
path: root/tools/patman/main.py
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-05-04 16:28:34 -0400
committerSimon Glass <sjg@chromium.org>2020-05-29 20:55:45 -0600
commit6949f70c6d3e1cd4b93cafb8759e333a2e5a7f1e (patch)
treea9c6d96af8a9114a20bd912cc2b608d2062d8dff /tools/patman/main.py
parentb0436b94047caf4c2ec67b599581198317f395b1 (diff)
downloadu-boot-6949f70c6d3e1cd4b93cafb8759e333a2e5a7f1e.zip
u-boot-6949f70c6d3e1cd4b93cafb8759e333a2e5a7f1e.tar.gz
u-boot-6949f70c6d3e1cd4b93cafb8759e333a2e5a7f1e.tar.bz2
patman: Add new tags for finer-grained changelog control
By default patman generates a combined changelog for the cover letter. This may not always be desirable. Many patches may have the same changes. These can be coalesced with "Series-process-log: uniq", but this is imperfect. Similar changes like "Move foo to patch 7" will not be merged with the similar "Move foo to this patch from patch 6". Changes may not make sense outside of the patch they are written for. For example, a change line of "Add check for bar" does not make sense outside of the context in which bar might be checked for. Some changes like "New" or "Lint" may be repeated many times throughout different change logs, but carry no useful information in a summary. Lastly, I like to summarize the broad strokes of the changes I have made in the cover letter, while documenting all the details in the appropriate patches. I think this makes it easier to get a good feel for what has changed, without making it difficult to wade through every change in the whole series. This patch adds two new tags to add changelog entries which only appear in the cover letter, or only appear in the commit. Changes documented with "Commit-changes" will only appear in the commit, and will not appear in the cover letter. Changes documented with "Cover-changes" will not appear in any commit, and will only appear in the cover letter. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/main.py')
-rwxr-xr-xtools/patman/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/main.py b/tools/patman/main.py
index 2951836..0974c84 100755
--- a/tools/patman/main.py
+++ b/tools/patman/main.py
@@ -65,7 +65,7 @@ parser.add_option('--no-check', action='store_false', dest='check_patch',
default=True,
help="Don't check for patch compliance")
parser.add_option('--no-tags', action='store_false', dest='process_tags',
- default=True, help="Don't process subject tags as aliaes")
+ default=True, help="Don't process subject tags as aliases")
parser.add_option('--smtp-server', type='str',
help="Specify the SMTP server to 'git send-email'")
parser.add_option('--test', action='store_true', dest='test',