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

umputun / mpt / 15078857693
79%
master: 88%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/crypto-0.45.0
DEFAULT BRANCH: master
Ran 16 May 2025 11:02PM 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:01PM UTC coverage: 78.795% (+0.5%) from 78.306%
15078857693

Pull #25

github

umputun
Add automatic branch diff detection to --git.diff flag

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
Pull Request #25: Add automatic branch diff detection to --git.diff flag

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 15078857693.1 16 May 2025 11:02PM UTC 12
78.8
GitHub Action Run
Source Files on build 15078857693
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #25
  • PR Base - master (#14981397064)
  • 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