rules: accept revert commit titles that were elongated by git#99
Conversation
This change ensures that the commit message linter doesn't reject revert commits that originally had commit titles with an acceptable length but were elongated during the revert process by running `git revert`. Fixes: nodejs#97 Signed-off-by: Darshan Sen <raisinten@gmail.com>
7d75f52 to
9a6759f
Compare
Codecov Report
@@ Coverage Diff @@
## main #99 +/- ##
==========================================
+ Coverage 93.88% 93.89% +0.01%
==========================================
Files 19 19
Lines 458 459 +1
==========================================
+ Hits 430 431 +1
Misses 28 28
Continue to review full report at Codecov.
|
tniessen
left a comment
There was a problem hiding this comment.
If a revert is reverted, doesn't git turn that into Revert "Revert "...""? Maybe that changed or I am misremembering, but if it does, this should maybe account for that.
@tniessen you're correct about the generated commit title but it seems |
|
@richardlau since you've been creating most of the releases for this repo recently, I thought I should ask you if you could give my npm account (https://www.npmjs.com/~raisinten) enough permissions, so that I can publish v3.16.1 with this change please? (I get this error when I run |
|
@RaisinTen I've added you via |
|
@richardlau thanks, I've published v3.16.1! :-) |
This change ensures that the commit message linter doesn't reject
revert commits that originally had commit titles with an acceptable
length but were elongated during the revert process by running
git revert.Fixes: #97
Signed-off-by: Darshan Sen raisinten@gmail.com