Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align worktree validation with upstream and remove build warnings #958

Merged
merged 2 commits into from Dec 8, 2023

Conversation

pjbgf
Copy link
Member

@pjbgf pjbgf commented Dec 8, 2023

This PR tackles two things:

  1. Align some of the validation from worktree to align with upstream.
  2. Remove warnings when running the GHA workflows:
    image

Some worktree validation rules observed upstream are not checked
by go-git, leading to scenarios in which what seems to be a valid
repository for go-git is not necessarily the case for the git cli.

Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
The setup-go step can be sped up by caching Go dependencies. The
input for that operation is the go.sum file. Previously, the
checkout operation was happening after the setup-go, which meant
that go.sum was never available which effectively meant the cache
was disabled.

Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
@pjbgf pjbgf merged commit 5d08d3b into go-git:master Dec 8, 2023
16 checks passed
@pjbgf pjbgf deleted the workval branch December 8, 2023 09:39
renovate bot added a commit to anoriqq/qpm that referenced this pull request Dec 9, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/go-git/go-git/v5](https://togithub.com/go-git/go-git) |
require | minor | `v5.10.1` -> `v5.11.0` |

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.1...v5.11.0)

#### What's Changed

- git: validate reference names
([#&#8203;929](https://togithub.com/go-git/go-git/issues/929)) by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#950
- git: stop iterating at oldest shallow when pulling. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;dhoizner](https://togithub.com/dhoizner) in
[go-git/go-git#939
- plumbing: object, enable renames in getFileStatsFromFilePatches by
[@&#8203;djmoch](https://togithub.com/djmoch) in
[go-git/go-git#941
- storage: filesystem, Add option to set a specific FS for alternates by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#953
- Align worktree validation with upstream and remove build warnings by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#958

#### New Contributors

- [@&#8203;dhoizner](https://togithub.com/dhoizner) made their first
contribution in
[go-git/go-git#939
- [@&#8203;djmoch](https://togithub.com/djmoch) made their first
contribution in
[go-git/go-git#941

**Full Changelog**:
go-git/go-git@v5.10.1...v5.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/anoriqq/qpm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
another-rex pushed a commit to google/osv-scanner that referenced this pull request Dec 27, 2023
…rity] (#721)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

### GitHub Vulnerability Alerts

####
[CVE-2023-49568](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

### Impact
A denial of service (DoS) vulnerability was discovered in go-git
versions prior to `v5.11`. This vulnerability allows an attacker to
perform denial of service attacks by providing specially crafted
responses from a Git server which triggers resource exhaustion in
`go-git` clients.

Applications using only the in-memory filesystem supported by `go-git`
are not affected by this vulnerability.
This is a `go-git` implementation issue and does not affect the upstream
`git` cli.

### Patches
Users running versions of `go-git` from `v4` and above are recommended
to upgrade to `v5.11` in order to mitigate this vulnerability.

### Workarounds
In cases where a bump to the latest version of `go-git` is not possible,
we recommend limiting its use to only trust-worthy Git servers.

## Credit
Thanks to Ionut Lalu for responsibly disclosing this vulnerability to
us.

### References
-
[GHSA-mw99-9chc-xw7r](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.1...v5.11.0)

#### What's Changed

- git: validate reference names
([#&#8203;929](https://togithub.com/go-git/go-git/issues/929)) by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#950
- git: stop iterating at oldest shallow when pulling. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;dhoizner](https://togithub.com/dhoizner) in
[go-git/go-git#939
- plumbing: object, enable renames in getFileStatsFromFilePatches by
[@&#8203;djmoch](https://togithub.com/djmoch) in
[go-git/go-git#941
- storage: filesystem, Add option to set a specific FS for alternates by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#953
- Align worktree validation with upstream and remove build warnings by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#958

#### New Contributors

- [@&#8203;dhoizner](https://togithub.com/dhoizner) made their first
contribution in
[go-git/go-git#939
- [@&#8203;djmoch](https://togithub.com/djmoch) made their first
contribution in
[go-git/go-git#941

**Full Changelog**:
go-git/go-git@v5.10.1...v5.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Australia/Sydney,
Automerge - At any time (no schedule defined).

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv-scanner).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Racer159 added a commit to defenseunicorns/zarf that referenced this pull request Jan 3, 2024
…ntainerd/containerd to v1.7.11 [security] (#2209)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

### GitHub Vulnerability Alerts

####
[CVE-2023-49568](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

### Impact
A denial of service (DoS) vulnerability was discovered in go-git
versions prior to `v5.11`. This vulnerability allows an attacker to
perform denial of service attacks by providing specially crafted
responses from a Git server which triggers resource exhaustion in
`go-git` clients.

Applications using only the in-memory filesystem supported by `go-git`
are not affected by this vulnerability.
This is a `go-git` implementation issue and does not affect the upstream
`git` cli.

### Patches
Users running versions of `go-git` from `v4` and above are recommended
to upgrade to `v5.11` in order to mitigate this vulnerability.

### Workarounds
In cases where a bump to the latest version of `go-git` is not possible,
we recommend limiting its use to only trust-worthy Git servers.

## Credit
Thanks to Ionut Lalu for responsibly disclosing this vulnerability to
us.

### References
-
[GHSA-mw99-9chc-xw7r](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.1...v5.11.0)

#### What's Changed

- git: validate reference names
([#&#8203;929](https://togithub.com/go-git/go-git/issues/929)) by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#950
- git: stop iterating at oldest shallow when pulling. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;dhoizner](https://togithub.com/dhoizner) in
[go-git/go-git#939
- plumbing: object, enable renames in getFileStatsFromFilePatches by
[@&#8203;djmoch](https://togithub.com/djmoch) in
[go-git/go-git#941
- storage: filesystem, Add option to set a specific FS for alternates by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#953
- Align worktree validation with upstream and remove build warnings by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#958

#### New Contributors

- [@&#8203;dhoizner](https://togithub.com/dhoizner) made their first
contribution in
[go-git/go-git#939
- [@&#8203;djmoch](https://togithub.com/djmoch) made their first
contribution in
[go-git/go-git#941

**Full Changelog**:
go-git/go-git@v5.10.1...v5.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/defenseunicorns/zarf).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wayne Starr <me@racer159.com>
michaelkedar pushed a commit to google/osv.dev that referenced this pull request Jan 9, 2024
…rity] (#1891)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

### GitHub Vulnerability Alerts

####
[CVE-2023-49568](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

### Impact
A denial of service (DoS) vulnerability was discovered in go-git
versions prior to `v5.11`. This vulnerability allows an attacker to
perform denial of service attacks by providing specially crafted
responses from a Git server which triggers resource exhaustion in
`go-git` clients.

Applications using only the in-memory filesystem supported by `go-git`
are not affected by this vulnerability.
This is a `go-git` implementation issue and does not affect the upstream
`git` cli.

### Patches
Users running versions of `go-git` from `v4` and above are recommended
to upgrade to `v5.11` in order to mitigate this vulnerability.

### Workarounds
In cases where a bump to the latest version of `go-git` is not possible,
we recommend limiting its use to only trust-worthy Git servers.

## Credit
Thanks to Ionut Lalu for responsibly disclosing this vulnerability to
us.

### References
-
[GHSA-mw99-9chc-xw7r](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.1...v5.11.0)

#### What's Changed

- git: validate reference names
([#&#8203;929](https://togithub.com/go-git/go-git/issues/929)) by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#950
- git: stop iterating at oldest shallow when pulling. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;dhoizner](https://togithub.com/dhoizner) in
[go-git/go-git#939
- plumbing: object, enable renames in getFileStatsFromFilePatches by
[@&#8203;djmoch](https://togithub.com/djmoch) in
[go-git/go-git#941
- storage: filesystem, Add option to set a specific FS for alternates by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#953
- Align worktree validation with upstream and remove build warnings by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#958

#### New Contributors

- [@&#8203;dhoizner](https://togithub.com/dhoizner) made their first
contribution in
[go-git/go-git#939
- [@&#8203;djmoch](https://togithub.com/djmoch) made their first
contribution in
[go-git/go-git#941

**Full Changelog**:
go-git/go-git@v5.10.1...v5.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Australia/Sydney,
Automerge - At any time (no schedule defined).

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv.dev).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
amenowanna added a commit to mergestat/mergestat that referenced this pull request Mar 13, 2024
…rity] (#1148)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

### GitHub Vulnerability Alerts

####
[CVE-2023-49568](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

### Impact
A denial of service (DoS) vulnerability was discovered in go-git
versions prior to `v5.11`. This vulnerability allows an attacker to
perform denial of service attacks by providing specially crafted
responses from a Git server which triggers resource exhaustion in
`go-git` clients.

Applications using only the in-memory filesystem supported by `go-git`
are not affected by this vulnerability.
This is a `go-git` implementation issue and does not affect the upstream
`git` cli.

### Patches
Users running versions of `go-git` from `v4` and above are recommended
to upgrade to `v5.11` in order to mitigate this vulnerability.

### Workarounds
In cases where a bump to the latest version of `go-git` is not possible,
we recommend limiting its use to only trust-worthy Git servers.

## Credit
Thanks to Ionut Lalu for responsibly disclosing this vulnerability to
us.

### References
-
[GHSA-mw99-9chc-xw7r](https://togithub.com/go-git/go-git/security/advisories/GHSA-mw99-9chc-xw7r)

####
[CVE-2023-49569](https://togithub.com/go-git/go-git/security/advisories/GHSA-449p-3h89-pw88)

### Impact
A path traversal vulnerability was discovered in go-git versions prior
to `v5.11`. This vulnerability allows an attacker to create and amend
files across the filesystem. In the worse case scenario, remote code
execution could be achieved.

Applications are only affected if they are using the
[ChrootOS](https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS),
which is the default when using "Plain" versions of Open and Clone funcs
(e.g. PlainClone). Applications using
[BoundOS](https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS)
or in-memory filesystems are not affected by this issue.
This is a `go-git` implementation issue and does not affect the upstream
`git` cli.

### Patches
Users running versions of `go-git` from `v4` and above are recommended
to upgrade to `v5.11` in order to mitigate this vulnerability.

### Workarounds
In cases where a bump to the latest version of `go-git` is not possible
in a timely manner, we recommend limiting its use to only trust-worthy
Git servers.

## Credit
Thanks to Ionut Lalu for responsibly disclosing this vulnerability to
us.

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.1...v5.11.0)

#### What's Changed

- git: validate reference names
([#&#8203;929](https://togithub.com/go-git/go-git/issues/929)) by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#950
- git: stop iterating at oldest shallow when pulling. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;dhoizner](https://togithub.com/dhoizner) in
[go-git/go-git#939
- plumbing: object, enable renames in getFileStatsFromFilePatches by
[@&#8203;djmoch](https://togithub.com/djmoch) in
[go-git/go-git#941
- storage: filesystem, Add option to set a specific FS for alternates by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#953
- Align worktree validation with upstream and remove build warnings by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#958

#### New Contributors

- [@&#8203;dhoizner](https://togithub.com/dhoizner) made their first
contribution in
[go-git/go-git#939
- [@&#8203;djmoch](https://togithub.com/djmoch) made their first
contribution in
[go-git/go-git#941

**Full Changelog**:
go-git/go-git@v5.10.1...v5.11.0

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.10.0...v5.10.1)

#### What's Changed

- Worktree, ignore ModeSocket files by
[@&#8203;steiler](https://togithub.com/steiler) in
[go-git/go-git#930
- git: add tracer package by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#916
- remote: Flip clause for fast-forward only check by
[@&#8203;adityasaky](https://togithub.com/adityasaky) in
[go-git/go-git#875
- plumbing: transport/ssh, Fix nil pointer dereference caused when an
unreachable proxy server is set. Fixes
[#&#8203;900](https://togithub.com/go-git/go-git/issues/900) by
[@&#8203;anandf](https://togithub.com/anandf) in
[go-git/go-git#901
- plumbing: uppload-server-info, implement upload-server-info by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#896
- plumbing: optimise memory consumption for filesystem storage by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#799
- plumbing: format/packfile, Refactor patch delta by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#908
- plumbing: fix empty uploadpack request error by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#932
- plumbing: transport/git, Improve tests error message by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#752
- plumbing: format/pktline, Respect pktline error-line errors by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#936
- utils: remove ioutil.Pipe and use std library io.Pipe by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#922
- utils: move trace to utils by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#931
- cli: separate go module for cli by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#914
- build: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#887
- build: bump actions/setup-go from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#891
- build: bump github.com/skeema/knownhosts from 1.2.0 to 1.2.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#888
- build: bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#890
- build: bump golang.org/x/sys from 0.13.0 to 0.14.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#907
- build: bump golang.org/x/text from 0.13.0 to 0.14.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#906
- build: bump golang.org/x/crypto from 0.14.0 to 0.15.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#917
- build: bump golang.org/x/net from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#918

#### New Contributors

- [@&#8203;anandf](https://togithub.com/anandf) made their first
contribution in
[go-git/go-git#901
- [@&#8203;steiler](https://togithub.com/steiler) made their first
contribution in
[go-git/go-git#930

**Full Changelog**:
go-git/go-git@v5.10.0...v5.10.1

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.9.0...v5.10.0)

#### What's Changed

- PlainInitOptions.Bare and allow using InitOptions with
PlainInitWithOptions by
[@&#8203;ThinkChaos](https://togithub.com/ThinkChaos) in
[go-git/go-git#782
- Worktree, apply ProxyOption on Pull by
[@&#8203;nodivbyzero](https://togithub.com/nodivbyzero) in
[go-git/go-git#840
- Repository: add clone --shared feature by
[@&#8203;enverbisevac](https://togithub.com/enverbisevac) in
[go-git/go-git#860
- build: Add github workflow to check commit message format by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#867
- Improve handling of remote errors by
[@&#8203;makkes](https://togithub.com/makkes) in
[go-git/go-git#866
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#873
- plumbing: commitgraph, Add generation v2 support by
[@&#8203;zeripath](https://togithub.com/zeripath) in
[go-git/go-git#869
- plumbing: protocol/packp, Add validation for decodeLine by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#868
- plumbing: parse the encoding header of the commit object by
[@&#8203;liwenqiu](https://togithub.com/liwenqiu) in
[go-git/go-git#761
- plumbing: commitgraph, allow SHA256 commit-graphs by
[@&#8203;zeripath](https://togithub.com/zeripath) in
[go-git/go-git#853
- plumbing: commitgraph, Allow reading commit-graph chains by
[@&#8203;zeripath](https://togithub.com/zeripath) in
[go-git/go-git#854
- plumbing/object: Support mergetag in merge commits by
[@&#8203;adityasaky](https://togithub.com/adityasaky) in
[go-git/go-git#847

#### New Contributors

- [@&#8203;nodivbyzero](https://togithub.com/nodivbyzero) made their
first contribution in
[go-git/go-git#840
- [@&#8203;adityasaky](https://togithub.com/adityasaky) made their first
contribution in
[go-git/go-git#847
- [@&#8203;hezhizhen](https://togithub.com/hezhizhen) made their first
contribution in
[go-git/go-git#836
- [@&#8203;0x34d](https://togithub.com/0x34d) made their first
contribution in
[go-git/go-git#855
- [@&#8203;liwenqiu](https://togithub.com/liwenqiu) made their first
contribution in
[go-git/go-git#761
- [@&#8203;enverbisevac](https://togithub.com/enverbisevac) made their
first contribution in
[go-git/go-git#860
- [@&#8203;makkes](https://togithub.com/makkes) made their first
contribution in
[go-git/go-git#866

**Full Changelog**:
go-git/go-git@v5.9.0...v5.10.0

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.8.1...v5.9.0)

#### What's Changed

- git: worktree: add Amend option to CommitOptions by
[@&#8203;john-cai](https://togithub.com/john-cai) in
[go-git/go-git#438
- git: worktree, reset ignored files that are part of the worktree:
Fixes [#&#8203;819](https://togithub.com/go-git/go-git/issues/819) by
[@&#8203;daolis](https://togithub.com/daolis) in
[go-git/go-git#821
- plumbing: Do not swallow http message coming from VCS providers by
[@&#8203;matejrisek](https://togithub.com/matejrisek) in
[go-git/go-git#835
- plumbing: transport, handle IPv6 while parsing endpoint. Fixes
[#&#8203;740](https://togithub.com/go-git/go-git/issues/740) by
[@&#8203;ninedraft](https://togithub.com/ninedraft) in
[go-git/go-git#820
- \*: update goproxy dependency to fix CVE-2023-37788 vulnerability by
[@&#8203;svghadi](https://togithub.com/svghadi) in
[go-git/go-git#832
- \*: bump dependencies and Go to 1.19 by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#837

#### New Contributors

- [@&#8203;svghadi](https://togithub.com/svghadi) made their first
contribution in
[go-git/go-git#832
- [@&#8203;daolis](https://togithub.com/daolis) made their first
contribution in
[go-git/go-git#821

**Full Changelog**:
go-git/go-git@v5.8.1...v5.9.0

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.8.0...v5.8.1)

#### What's Changed

- \*: Bump dependencies by [@&#8203;pjbgf](https://togithub.com/pjbgf)
in
[go-git/go-git#815

**Full Changelog**:
go-git/go-git@v5.8.0...v5.8.1

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.7.0...v5.8.0)

#### What's Changed

- git: Fix fetching after shallow clone. Fixes
[#&#8203;305](https://togithub.com/go-git/go-git/issues/305) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#778
- git: enable fetch with unqualified references by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#762
- git: don't add to want if exists, shallow and depth 1 by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#763
- git: Clone HEAD should not force master. Fixes
[#&#8203;363](https://togithub.com/go-git/go-git/issues/363) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#758
- git: fix the issue with submodules having the SCP style URL fail due
to the wrong URL parsing by
[@&#8203;matejrisek](https://togithub.com/matejrisek) in
[go-git/go-git#756
- git: add a clone option to allow for shallow cloning of submodules by
[@&#8203;matejrisek](https://togithub.com/matejrisek) in
[go-git/go-git#765
- worktree: minor speedup for `doAddDirectory` by
[@&#8203;ThinkChaos](https://togithub.com/ThinkChaos) in
[go-git/go-git#702
- \_examples: Remove wrong comment by
[@&#8203;pascal-hofmann](https://togithub.com/pascal-hofmann) in
[go-git/go-git#357
- \*: Handle paths starting with tilde by
[@&#8203;ricci2511](https://togithub.com/ricci2511) in
[go-git/go-git#808
- \*: Handle paths starting with ~Username by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#809
- storage: filesystem/dotgit, add support for tmp_objdir prefix by
[@&#8203;L11R](https://togithub.com/L11R) in
[go-git/go-git#812
- plumbing: gitignore, replace user dir in path by
[@&#8203;Jleagle](https://togithub.com/Jleagle) in
[go-git/go-git#772
- plumbing: gitignore, fix incorrect parsing. Fixes
[#&#8203;500](https://togithub.com/go-git/go-git/issues/500) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#781
- plumbing: http, Fix empty repos on Git v2.41+ by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#802
- plumbing: packp, A request is not empty if it contains shallows. Fixes
[#&#8203;328](https://togithub.com/go-git/go-git/issues/328) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#792
- plumbing: blame, Complete rewrite. Fixes
[#&#8203;603](https://togithub.com/go-git/go-git/issues/603) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#789
- plumbing: gitignore, Allow gitconfig to contain a gitignore relative
to any user home. Fixes
[#&#8203;578](https://togithub.com/go-git/go-git/issues/578) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#785

#### New Contributors

- [@&#8203;Jleagle](https://togithub.com/Jleagle) made their first
contribution in
[go-git/go-git#772
- [@&#8203;pascal-hofmann](https://togithub.com/pascal-hofmann) made
their first contribution in
[go-git/go-git#357
- [@&#8203;ricci2511](https://togithub.com/ricci2511) made their first
contribution in
[go-git/go-git#808
- [@&#8203;L11R](https://togithub.com/L11R) made their first
contribution in
[go-git/go-git#812

**Full Changelog**:
go-git/go-git@v5.7.0...v5.7.1

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.6.1...v5.7.0)

#### What's Changed

- \*: Add support for initializing SHA256 repositories by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#707
- git: add mirror clone option by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#735
- git: Add support to ls-remote with peeled references. Fixes
[#&#8203;749](https://togithub.com/go-git/go-git/issues/749) by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#750
- git: fix cloning with branch name by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#755
- git: Worktree, add check to see if file already checked in. Fixes
[#&#8203;718](https://togithub.com/go-git/go-git/issues/718) by
[@&#8203;cbbm142](https://togithub.com/cbbm142) in
[go-git/go-git#719
- git: Worktree, git grep bare repositories by
[@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#728
- git: Add Depth to SubmoduleUpdateOptions by
[@&#8203;matejrisek](https://togithub.com/matejrisek) in
[go-git/go-git#754
- git: Testing, Fix tests not cleaning temp folders by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#769
- git: remote, add support for a configurable timeout. by
[@&#8203;andrewpollock](https://togithub.com/andrewpollock) in
[go-git/go-git#753
- git: Allow Initial Branch to be configurable by
[@&#8203;techknowlogick](https://togithub.com/techknowlogick) in
[go-git/go-git#764
- storage: filesystem/dotgit, Improve load packed-refs by
[@&#8203;fcharlie](https://togithub.com/fcharlie) in
[go-git/go-git#743
- storage: filesystem, Populate index before use. Fixes
[#&#8203;148](https://togithub.com/go-git/go-git/issues/148) by
[@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) in
[go-git/go-git#722
- plumbing: resolve non-external delta references by
[@&#8203;ZauberNerd](https://togithub.com/ZauberNerd) in
[go-git/go-git#485
- plumbing/transport: fix regression in scp-like match by
[@&#8203;jotadrilo](https://togithub.com/jotadrilo) in
[go-git/go-git#715
- plumbing/transport: Add support for custom proxy settings by
[@&#8203;aryan9600](https://togithub.com/aryan9600) in
[go-git/go-git#744
- \*: small fixes across the codebase by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#770
- \*: bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#776
- \*: bump dependencies by [@&#8203;pjbgf](https://togithub.com/pjbgf)
in
[go-git/go-git#748
- \*: bump Go version to 1.18 on go.mod by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#774
- \*: add Codeql workflow and bump dependencies by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#775
- ci: fix upstream git build for master branch by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#739

#### New Contributors

- [@&#8203;ZauberNerd](https://togithub.com/ZauberNerd) made their first
contribution in
[go-git/go-git#485
- [@&#8203;jotadrilo](https://togithub.com/jotadrilo) made their first
contribution in
[go-git/go-git#715
- [@&#8203;fcharlie](https://togithub.com/fcharlie) made their first
contribution in
[go-git/go-git#743
- [@&#8203;AriehSchneier](https://togithub.com/AriehSchneier) made their
first contribution in
[go-git/go-git#755
- [@&#8203;cbbm142](https://togithub.com/cbbm142) made their first
contribution in
[go-git/go-git#719
- [@&#8203;aryan9600](https://togithub.com/aryan9600) made their first
contribution in
[go-git/go-git#744
- [@&#8203;matejrisek](https://togithub.com/matejrisek) made their first
contribution in
[go-git/go-git#754
- [@&#8203;andrewpollock](https://togithub.com/andrewpollock) made their
first contribution in
[go-git/go-git#753
- [@&#8203;techknowlogick](https://togithub.com/techknowlogick) made
their first contribution in
[go-git/go-git#764

**Full Changelog**:
go-git/go-git@v5.6.1...v5.7.0

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.6.0...v5.6.1)

#### What's Changed

- plumbing/transport: don't use the `firstErrLine` when it is empty by
[@&#8203;ThinkChaos](https://togithub.com/ThinkChaos) in
[go-git/go-git#682
- plumbing/transport: ssh, unable to pass a custom HostKeyCallback func
by [@&#8203;aymanbagabas](https://togithub.com/aymanbagabas) in
[go-git/go-git#655
- storage/filesystem: dotgit: fix a filesystem race in
Refs/walkReferencesTree by
[@&#8203;MichaelMure](https://togithub.com/MichaelMure) in
[go-git/go-git#659
- \*: bump golang.org/x/net from 0.2.0 to 0.7.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[go-git/go-git#684
- \*: bump dependencies by [@&#8203;pjbgf](https://togithub.com/pjbgf)
in
[go-git/go-git#697
- \*: fix panic for empty revisions by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#696
- ci: bump GitHub actions, enable go test race detection and stop using
developer's GPG keys during test execution by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#701

**Full Changelog**:
go-git/go-git@v5.6.0...v5.6.1

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

[Compare
Source](https://togithub.com/go-git/go-git/compare/v5.5.2...v5.6.0)

#### What's Changed

- Worktree, check for empty parent dirs during Reset (Fixes
[#&#8203;670](https://togithub.com/go-git/go-git/issues/670)) by
[@&#8203;mbohy](https://togithub.com/mbohy) in
[go-git/go-git#671
- \*: remove need to build with CGO by
[@&#8203;pjbgf](https://togithub.com/pjbgf) in
[go-git/go-git#688
- plumbing: support SSH/X509 signed tags by
[@&#8203;hiddeco](https://togithub.com/hiddeco) in
[go-git/go-git#690

**Full Changelog**:
go-git/go-git@v5.5.2...v5.6.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/mergestat/mergestat).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
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.

None yet

2 participants