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

dcdpr / jp / 28020439547
69%

Build:
DEFAULT BRANCH: main
Ran 23 Jun 2026 10:44AM UTC
Jobs 1
Files 418
Run time 2min
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

23 Jun 2026 10:42AM UTC coverage: 66.687% (+0.06%) from 66.627%
28020439547

push

github

web-flow
chore(tools): Resolve revision before passing to `git blame` (#779)

`git blame` mishandles the `--end-of-options <rev> -- <path>` form: its
DWIM logic treats the first token after the consumed options as the `--`
position and shuffles the path into the revision slot, causing `fatal:
bad revision '<path>'` when an explicit revision and a path are both
supplied.

The tool now resolves the caller-supplied revision to a full 40-char SHA
via `git rev-parse --verify --end-of-options` before invoking blame.
Because `git rev-parse` honors `--end-of-options` correctly, an
option-shaped value like `--contents=/etc/passwd` is still treated as a
positional and fails revision resolution before blame is ever called. A
40-char hex SHA needs no `--end-of-options` guard, so the blame call is
simplified accordingly.

The original user-supplied ref is preserved in the rendered output so
`<revision>HEAD</revision>` still appears rather than the raw SHA.

Signed-off-by: Jean Mertz <git@jeanmertz.com>

10 of 10 new or added lines in 1 file covered. (100.0%)

35736 of 53588 relevant lines covered (66.69%)

406.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28020439547.1 23 Jun 2026 10:44AM UTC 418
66.69
GitHub Action Run
Source Files on build 28020439547
  • Tree
  • List 418
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28020439547
  • f159cb57 on github
  • Prev Build on main (#28017206386)
  • Next Build on main (#28054343059)
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