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

umputun / mpt / 15078887102
88%

Build:
DEFAULT BRANCH: master
Ran 16 May 2025 11:05PM UTC
Jobs 1
Files 12
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

16 May 2025 11:04PM UTC coverage: 78.795% (+0.5%) from 78.306%
15078887102

push

github

web-flow
Add automatic branch diff detection to --git.diff flag (#25)

When --git.diff is used and there are no uncommitted changes, automatically
show the diff between the current branch and main/master if they differ.

- Add early branch name sanitization for security
- Extract branch diff logic into tryBranchDiff() method
- Add helper method getCommandOutputTrimmed() to reduce duplication
- Add comprehensive tests for the new functionality
- Update README with the new automatic behavior

65 of 70 new or added lines in 1 file covered. (92.86%)

1256 of 1594 relevant lines covered (78.8%)

19.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
85.11
2.94% pkg/prompt/git.go
Jobs
ID Job ID Ran Files Coverage
1 15078887102.1 16 May 2025 11:05PM UTC 12
78.8
GitHub Action Run
Source Files on build 15078887102
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 80053ede on github
  • Prev Build on master (#14981397064)
  • Next Build on master (#15078913820)
  • Delete
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