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

umputun / ralphex / 21456951034
81%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2026 09:56PM UTC
Jobs 1
Files 27
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

28 Jan 2026 09:55PM UTC coverage: 78.252% (+0.07%) from 78.183%
21456951034

push

github

web-flow
feat(git): auto-create initial commit for empty repos (#41)

* feat(git): auto-create initial commit for empty repos

add AskYesNo function to input package for Y/n prompts.
add CreateInitialCommit method to git package.
change validateRepoHasCommits to ensureRepoHasCommits that prompts
user to create initial commit when repository is empty.

Related to #38

* fix(git): correct gitignore precedence and CreateInitialCommit filtering

IsIgnored now loads patterns in correct order: system → global → local
(local has highest priority since go-git checks patterns end-to-start).

CreateInitialCommit now iterates files individually and checks each with
IsIgnored instead of using AddGlob, properly respecting global gitignore.

Related to #38

* refactor(git): deterministic file staging order in CreateInitialCommit

Sort paths before staging for reproducible commit tree hashes.
Add clarifying comment for scanner error handling in AskYesNo.

62 of 74 new or added lines in 3 files covered. (83.78%)

1 existing line in 1 file now uncovered.

3742 of 4782 relevant lines covered (78.25%)

61.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
40.72
0.58% cmd/ralphex/main.go
10
72.37
0.45% pkg/git/git.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
40.72
0.58% cmd/ralphex/main.go
Jobs
ID Job ID Ran Files Coverage
1 21456951034.1 28 Jan 2026 09:56PM UTC 27
78.25
GitHub Action Run
Source Files on build 21456951034
  • Tree
  • List 27
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 026dc00f on github
  • Prev Build on master (#21452562078)
  • Next Build on master (#21457463783)
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