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

umputun / revdiff / 28422196780

30 Jun 2026 05:15AM UTC coverage: 89.807%. First build
28422196780

Pull #246

github

umputun
fix(review-loop): final cleanup pass — addressed 1 finding

- [minor] [diff.go] scope the no-index no-op to the missing-.git/index case via an errNoIndex sentinel; previously errors.Is(err, fs.ErrNotExist) wrapped the whole tempIndexWithIntentToAdd call, so an ENOENT from os.CreateTemp (missing TMPDIR) or a corrupt index was swallowed and silently disabled rename detection. other ENOENT now propagates with a warning.
- [test] [diff_test.go] added TestGit_UntrackedRenames_RealErrorNotSwallowed
Pull Request #246: fix: detect renames when the new file is untracked

153 of 225 new or added lines in 6 files covered. (68.0%)

10494 of 11685 relevant lines covered (89.81%)

3063.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.98
/app/diff/diff.go


Source Not Available

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