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

umputun / ralphex / 21369286692
78%

Build:
DEFAULT BRANCH: master
Ran 26 Jan 2026 06:32PM UTC
Jobs 1
Files 26
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

26 Jan 2026 06:31PM UTC coverage: 79.001% (-0.03%) from 79.028%
21369286692

push

github

umputun
fix(git): add validation for repositories without commits

running ralphex on a fresh git repo with no commits failed with unclear
error: "get current branch: get HEAD: reference not found"

now provides actionable error message explaining the issue and fix:
  "repository has no commits - create an initial commit first"

- add HasCommits() method to git.Repo
- add validateRepoHasCommits() with user-friendly error
- add tests for both

Related to #31

17 of 23 new or added lines in 2 files covered. (73.91%)

3416 of 4324 relevant lines covered (79.0%)

65.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
70.59
0.55% pkg/git/git.go
5
40.96
0.59% cmd/ralphex/main.go
Jobs
ID Job ID Ran Files Coverage
1 21369286692.1 26 Jan 2026 06:32PM UTC 26
79.0
GitHub Action Run
Source Files on build 21369286692
  • Tree
  • List 26
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 24dfaec7 on github
  • Prev Build on master (#21368168720)
  • Next Build on master (#21369506819)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc