• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / overcommit / 42772037897
100%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Nov 2026 07:00AM UTC
Jobs 1
Files 224
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Nov 2026 06:58AM UTC coverage: 93.346% (+0.03%) from 93.315%
42772037897

push

github

web-flow
Honor Git cleanup rules for comment-prefixed commit messages (#929)

Commit-message hooks always removed comment-prefixed lines, causing `git
commit -m '#16: ...'` to fail `EmptyMessage` even when Git would
preserve the title. Honor Git's effective cleanup mode when filtering
comments, so hooks see those titles while messages that become empty
under stripping cleanup are still rejected.

Closes #736.

Resolve command-line `--cleanup` overrides before `commit.cleanup`, and
use Git's documented `GIT_EDITOR=:` marker for the editor-dependent
default. Cache that result within the commit-message context. On
Windows, follow the `env.exe` launcher to the invoking Git process in
the COM, Script Host, and PowerShell query paths, so command-line
overrides are visible. Alternate comment characters and existing
verbose-diff filtering continue to work.

Adds unit and installed-hook integration tests for the scenarios in
#736: default `-m`, alternate comment characters, configured and
explicit whitespace cleanup, quoted Windows options, overrides
before/after the message, verbatim cleanup, editor-based commits, and
empty-message rejection. Integration tests check the final message
stored by Git.

Validation: all 1,844 local RSpec examples pass; pre-commit checks and
RuboCop pass. GitHub CI will verify Ruby 3.3/3.4/4.0 on Ubuntu and
Windows.

References: [Git commit cleanup
modes](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---cleanupltmodegt),
[Git hook editor marker](https://git-scm.com/docs/githooks#_pre_commit).

22 of 22 new or added lines in 3 files covered. (100.0%)

3451 of 3697 relevant lines covered (93.35%)

2501.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42772037897.1 10 Nov 2026 07:00AM UTC 4032
78.56
GitHub Action Run
Source Files on build 42772037897
  • Tree
  • List 224
  • Changed 173
  • Source Changed 3
  • Coverage Changed 173
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42772037897
  • 7df0e1b0 on github
  • Prev Build on main (#42770188652)
  • Next Build on main (#42773246305)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc