diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2024-12-20 22:43:14 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-23 12:55:20 +1100 |
commit | 4729a895046908414b239f02256ac3334d1b2c15 (patch) | |
tree | cb72b40dc8b0e92c50a7718fd1e4f5a2f5fb8e38 /py/qstr.c | |
parent | 7ca6e5eb6815de6f7c2792969b0f66cf306f5b91 (diff) |
tools/verifygitlog.py: Show invalid commit subjects in quotes.
If a commit subject line has any trailing whitespace it won't match the
repository validation rules, and the line will show up as part of the
relevant error message. However, since there's no quotation marks
around the offending text, the trailing whitespace may go unnoticed, and
given that the commit message is then discarded when the commit
operation is retried this can get fairly annoying.
This commit simply modifies the error output for invalid subject lines
to add quotation marks around the offending text, so trailing whitespace
is much easier to see.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/qstr.c')
0 files changed, 0 insertions, 0 deletions