Skip to content

Comments

backport plumbing: format/idxfile, prevent panic#1732

Merged
pjbgf merged 1 commit intogo-git:releases/v5.xfrom
swills:find-hash-panic-fix-backport
Nov 23, 2025
Merged

backport plumbing: format/idxfile, prevent panic#1732
pjbgf merged 1 commit intogo-git:releases/v5.xfrom
swills:find-hash-panic-fix-backport

Conversation

@swills
Copy link
Contributor

@swills swills commented Nov 21, 2025

Backport of changes in #1729 to the releases/v5.x branch

prevent concurrent map read and write panic, and add test to prevent
future regressions
@swills swills changed the title plumbing: format/idxfile, prevent panic backport plumbing: format/idxfile, prevent panic Nov 21, 2025
Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@swills thanks for raising the backport PR. The CI issues are orthogonal - and they will be fixed by #1734.

@pjbgf pjbgf merged commit fb6806f into go-git:releases/v5.x Nov 23, 2025
11 of 14 checks passed
arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request Jan 18, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) | `v5.16.3` -> `v5.16.4` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-git%2fgo-git%2fv5/v5.16.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-git%2fgo-git%2fv5/v5.16.3/v5.16.4?slim=true) |

---

### Release Notes

<details>
<summary>go-git/go-git (github.com/go-git/go-git/v5)</summary>

### [`v5.16.4`](https://github.com/go-git/go-git/releases/tag/v5.16.4)

[Compare Source](go-git/go-git@v5.16.3...v5.16.4)

#### What's Changed

- backport plumbing: format/idxfile, prevent panic by [@&#8203;swills](https://github.com/swills) in [#&#8203;1732](go-git/go-git#1732)
- \[backport] build: test, Fix build on Windows. by [@&#8203;pjbgf](https://github.com/pjbgf) in [#&#8203;1734](go-git/go-git#1734)
- build: Update module golang.org/x/net to v0.38.0 \[SECURITY] (releases/v5.x) by [@&#8203;go-git-renovate](https://github.com/go-git-renovate)\[bot] in [#&#8203;1742](go-git/go-git#1742)
- build: Update module github.com/cloudflare/circl to v1.6.1 \[SECURITY] (releases/v5.x) by [@&#8203;go-git-renovate](https://github.com/go-git-renovate)\[bot] in [#&#8203;1741](go-git/go-git#1741)
- build: Update module github.com/go-git/go-git/v5 to v5.13.0 \[SECURITY] (releases/v5.x) by [@&#8203;go-git-renovate](https://github.com/go-git-renovate)\[bot] in [#&#8203;1743](go-git/go-git#1743)

**Full Changelog**: <go-git/go-git@v5.16.3...v5.16.4>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43MS4wIiwidXBkYXRlZEluVmVyIjoiNDIuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiS2luZC9EZXBlbmRlbmN5VXBkYXRlIiwicnVuLWVuZC10by1lbmQtdGVzdHMiXX0=-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/1269
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants