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

sds / overcommit / 41181583802
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 31 Oct 2026 07:42AM UTC
Jobs 8
Files 223
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

31 Oct 2026 07:41AM UTC coverage: 92.031% (-0.04%) from 92.069%
41181583802

push

github

web-flow
Keep each worktree's signatures separate (#903)

**Claude:** This PR was written by Claude Code on behalf of @apiology.

## Problem

Signing in one git worktree breaks commits in the others:

```console
$ cd main && overcommit --sign
$ cd ../linked && overcommit --sign   # .overcommit.yml differs here
$ cd ../main && git commit
# Signature of configuration file has changed!
# Run `overcommit --sign` once you've verified the configuration changes.
```

Anyone whose worktrees carry different `.overcommit.yml` files or hook
plugins (e.g. branches that change the config) has to re-sign on every
switch.

## Solution

When `extensions.worktreeConfig` is enabled, signatures and the recorded
`verify_signatures` choice are read and written with `git config
--worktree` instead of `--local`, so each worktree keeps its own;
without the extension `--worktree` fails in a repo with linked worktrees
(`fatal: --worktree cannot be used with multiple working trees unless
the config extension worktreeConfig is enabled`), so behaviour there is
unchanged.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Shane da Silva <shane@dasilva.io>

6 of 8 new or added lines in 3 files covered. (75.0%)

2 existing lines in 1 file now uncovered.

3326 of 3614 relevant lines covered (92.03%)

3269.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
85.43
-1.06% lib/overcommit/configuration.rb

Coverage Regressions

Lines Coverage ∆ File
2
85.43
-1.06% lib/overcommit/configuration.rb
Jobs
ID Job ID Ran Files Coverage
1 ruby4.0-ubuntu - 41181583802.1 31 Oct 2026 07:42AM UTC 446
92.0
GitHub Action Run
2 ruby2.6-ubuntu - 41181583802.2 31 Oct 2026 07:42AM UTC 446
91.97
GitHub Action Run
3 ruby3.3-ubuntu - 41181583802.3 31 Oct 2026 07:42AM UTC 446
91.99
GitHub Action Run
4 ruby3.4-ubuntu - 41181583802.4 31 Oct 2026 07:42AM UTC 446
92.0
GitHub Action Run
5 ruby3.0-ubuntu - 41181583802.5 31 Oct 2026 07:43AM UTC 446
91.97
GitHub Action Run
6 ruby3.2-ubuntu - 41181583802.6 31 Oct 2026 07:42AM UTC 446
91.94
GitHub Action Run
7 ruby2.7-ubuntu - 41181583802.7 31 Oct 2026 07:42AM UTC 446
91.97
GitHub Action Run
8 ruby3.1-ubuntu - 41181583802.8 31 Oct 2026 07:42AM UTC 446
91.94
GitHub Action Run
Source Files on build 41181583802
  • Tree
  • List 223
  • Changed 222
  • Source Changed 3
  • Coverage Changed 222
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41181583802
  • 05a88367 on github
  • Prev Build on main (#41181226270)
  • Next Build on main (#41182471426)
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