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

sds / overcommit / 30714921145
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Aug 2026 07:32PM UTC
Jobs 8
Files 222
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

01 Aug 2026 07:30PM UTC coverage: 91.935% (+0.3%) from 91.62%
30714921145

push

github

web-flow
Fix operation state restoration in linked worktrees (#887)

## Context

I ran into this through a confusing shell prompt error after completing
work in a linked worktree. Overcommit was restoring merge and
cherry-pick state into the shared Git directory, which can make another
checkout appear to be mid-operation. The shared directory is right for
hooks, but these state files belong to the active worktree.

## Changes

- Resolve operation-state files through `git rev-parse --git-path`, with
a fallback for Git versions before 2.5.
- Restore `MERGE_HEAD`, `MERGE_MODE`, `MERGE_MSG`, and
`CHERRY_PICK_HEAD` in the active worktree.
- Preserve merge mode and message contents exactly.

20 of 22 new or added lines in 2 files covered. (90.91%)

3306 of 3596 relevant lines covered (91.94%)

3265.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
91.74
-1.11% lib/overcommit/utils.rb
Jobs
ID Job ID Ran Files Coverage
1 ruby3.3-ubuntu - 30714921145.1 01 Aug 2026 07:32PM UTC 444
91.89
GitHub Action Run
2 ruby3.1-ubuntu - 30714921145.2 01 Aug 2026 07:32PM UTC 444
91.84
GitHub Action Run
3 ruby3.4-ubuntu - 30714921145.3 01 Aug 2026 07:32PM UTC 444
91.9
GitHub Action Run
4 ruby3.0-ubuntu - 30714921145.4 01 Aug 2026 07:32PM UTC 444
91.87
GitHub Action Run
5 ruby2.6-ubuntu - 30714921145.5 01 Aug 2026 07:32PM UTC 444
91.87
GitHub Action Run
6 ruby2.7-ubuntu - 30714921145.6 01 Aug 2026 07:32PM UTC 444
91.87
GitHub Action Run
7 ruby4.0-ubuntu - 30714921145.7 01 Aug 2026 07:32PM UTC 444
91.9
GitHub Action Run
8 ruby3.2-ubuntu - 30714921145.8 01 Aug 2026 07:32PM UTC 444
91.84
GitHub Action Run
Source Files on build 30714921145
  • Tree
  • List 222
  • Changed 221
  • Source Changed 2
  • Coverage Changed 221
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30714921145
  • a3f4e292 on github
  • Prev Build on main (#28833443203)
  • Next Build on main (#30715332058)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc