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

plumbing: blame, Complete rewrite. Fixes #603 #789

Merged
merged 1 commit into from Jul 7, 2023

Conversation

AriehSchneier
Copy link
Contributor

No description provided.

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.

@AriehSchneier Nice work! I noticed that there are a few optimisation TODO's. What's the performance impact of the changes?

blame.go Outdated Show resolved Hide resolved
blame_test.go Outdated Show resolved Hide resolved
references_test.go Show resolved Hide resolved
@AriehSchneier
Copy link
Contributor Author

@AriehSchneier Nice work! I noticed that there are a few optimisation TODO's. What's the performance impact of the changes?

@pjbgf Thats a good question, its hard to know without running tests. It would be good if someone could create a couple of benchmarks that we could run against to compare.

@AriehSchneier
Copy link
Contributor Author

@pjbgf rebased and ready for review

@pjbgf
Copy link
Member

pjbgf commented Jul 2, 2023

I noticed that go-git's version of git blame returns Author email instead of Author name. I think it would be worth changing that as part of the rewrite:
image

For backwards compatibility, I would add a new AuthorName (or something similar). Then we reassess the API at v6.0.

blame.go Outdated Show resolved Hide resolved
blame.go Outdated Show resolved Hide resolved
// one...
for i, rev := range b.revs {
func (b *blame) addBlames(curItems []*queueItem) (bool, error) {
curItem := curItems[0]
Copy link
Member

Choose a reason for hiding this comment

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

We could short-circuit here if curItems is ever 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is impossible for len(curItems) to be 0 otherwise the calling code would have returned the error invalid state: no items left on the blame queue

blame.go Show resolved Hide resolved
blame.go Show resolved Hide resolved
plumbing/object/commit.go Outdated Show resolved Hide resolved
plumbing/object/commit.go Outdated Show resolved Hide resolved
blame_test.go Outdated Show resolved Hide resolved
blame_test.go Outdated Show resolved Hide resolved
blame_test.go Outdated Show resolved Hide resolved
@pjbgf
Copy link
Member

pjbgf commented Jul 2, 2023

Please add an example on how to use Blame:

package main

import (
	"fmt"
	"os"

	"github.com/go-git/go-git/v5"
	. "github.com/go-git/go-git/v5/_examples"
)

// Basic example of how to blame a repository.
func main() {
	CheckArgs("<url>", "<file_to_blame>")
	url := os.Args[1]
	path := os.Args[2]

	tmp, err := os.MkdirTemp("", "go-git-blame-*")
	CheckIfError(err)

	defer os.RemoveAll(tmp)

	// Clone the given repository.
	Info("git clone %s %s", url, tmp)
	r, err := git.PlainClone(
		tmp,
		false,
		&git.CloneOptions{
			URL:  url,
			Tags: git.NoTags,
		},
	)
	CheckIfError(err)

	// Retrieve the branch's HEAD, to then get the HEAD commit.
	ref, err := r.Head()
	CheckIfError(err)

	c, err := r.CommitObject(ref.Hash())
	CheckIfError(err)

	Info("git blame %s", path)

	// Blame the given file/path.
	br, err := git.Blame(c, path)
	CheckIfError(err)

	for i, l := range br.Lines {
		fmt.Printf("%s (%s %s %d) %s\n", l.Hash.String()[:7], l.Author, l.Date.Format("2006-01-02 15:04:05 -0700"), i+1, l.Text)
	}
}

@pjbgf
Copy link
Member

pjbgf commented Jul 2, 2023

@pjbgf Thats a good question, its hard to know without running tests. It would be good if someone could create a couple of benchmarks that we could run against to compare.

The previous Blame was not working properly, so could not bench it on a large file. The results below are for a file created on single commit:

cpu: Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz
         │   /tmp/old   │                /tmp/new                │
         │    sec/op    │    sec/op      vs base                 │
Blame-16   1.853m ± 10%   103.262m ± 2%  +5473.84% (p=0.002 n=6)

         │   /tmp/old   │                /tmp/new                │
         │     B/op     │     B/op       vs base                 │
Blame-16   1.115Mi ± 0%   77.680Mi ± 0%  +6868.48% (p=0.002 n=6)

         │  /tmp/old   │               /tmp/new                │
         │  allocs/op  │  allocs/op    vs base                 │
Blame-16   11.06k ± 0%   327.18k ± 0%  +2859.02% (p=0.002 n=6)

Code used:

func BenchmarkBlame(b *testing.B) {
	b.StopTimer()

	r, err := PlainClone(b.TempDir(), false, &CloneOptions{
		URL:          "https://github.com/go-git/go-git.git",
		Tags:         NoTags,
		SingleBranch: true,
	})
	if err != nil {
		b.Error(err)
	}

	ref, err := r.Head()
	if err != nil {
		b.Error(err)
	}

	c, err := r.CommitObject(ref.Hash())
	if err != nil {
		b.Error(err)
	}

	b.StartTimer()
	for i := 0; i < b.N; i++ {
		_, err = Blame(c, "SECURITY.md")
		if err != nil {
			b.Error(err)
		}
	}
}

@pjbgf pjbgf added this to the v5.8.0 milestone Jul 2, 2023
blame.go Outdated
0,
})
for {
items := make([]*queueItem, 0)
Copy link
Member

Choose a reason for hiding this comment

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

We may be able to reuse the backing array so it does not need to be created every time.
So this line could be moved to before the for, and here you replace it with:
items = items[:0]

blame.go Outdated Show resolved Hide resolved
@pjbgf
Copy link
Member

pjbgf commented Jul 2, 2023

If you are keen on bounce some ideas on this, feel free to reach out via Slack.

@AriehSchneier
Copy link
Contributor Author

@pjbgf all comments addressed, I didn't squash yet so you could see the diff. Once we are ready to merge I will squash.

@pjbgf
Copy link
Member

pjbgf commented Jul 5, 2023

I ran the blame benchmark from current implementation vs your PR, and got this results:

cpu: Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz
         │  /tmp/old   │              /tmp/new              │
         │   sec/op    │   sec/op     vs base               │
Blame-16   442.8m ± 3%   573.3m ± 6%  +29.49% (p=0.002 n=6)

         │   /tmp/old   │              /tmp/new               │
         │     B/op     │     B/op      vs base               │
Blame-16   294.3Mi ± 0%   373.3Mi ± 0%  +26.83% (p=0.002 n=6)

         │  /tmp/old   │              /tmp/new              │
         │  allocs/op  │  allocs/op   vs base               │
Blame-16   2.689M ± 0%   3.183M ± 0%  +18.37% (p=0.002 n=6)

The test targeted plumbing/object/commit.go from your PR. This looks much better.
Although it still is slower than the current, it is not by much and the changes fixes previous inaccuracies.

So it LGTM. If there aren't more changes, please squash the commits and add a short description to the commit/PR on the reasons behind the rewrite.

Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
@pjbgf pjbgf merged commit 7e143ce into go-git:master Jul 7, 2023
10 checks passed
@AriehSchneier AriehSchneier deleted the rewrite-blame branch July 8, 2023 08:06
renovate bot added a commit to anoriqq/qpm that referenced this pull request Jul 21, 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.7.0` -> `v5.8.0` |

---

### Release Notes

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

### [`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

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

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 Jul 23, 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.7.0` -> `v5.8.0` |
| golang.org/x/exp | require | digest | `97b1e66` -> `613f0c0` |

---

### Release Notes

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

### [`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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
renovate bot added a commit to sheldonhull/az-pr that referenced this pull request Jul 24, 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.7.0` -> `v5.8.0` |

copilot:all

---

### Release Notes

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

### [`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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

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/sheldonhull/az-pr).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
michaelkedar pushed a commit to google/osv.dev that referenced this pull request Sep 11, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[cloud.google.com/go/datastore](https://togithub.com/googleapis/google-cloud-go)
| require | minor | `v1.11.0` -> `v1.14.0` |
|
[cloud.google.com/go/pubsub](https://togithub.com/googleapis/google-cloud-go)
| require | minor | `v1.31.0` -> `v1.33.0` |
|
[cloud.google.com/go/storage](https://togithub.com/googleapis/google-cloud-go)
| require | minor | `v1.30.1` -> `v1.33.0` |
| [github.com/go-git/go-git/v5](https://togithub.com/go-git/go-git) |
require | minor | `v5.7.0` -> `v5.8.1` |
|
[google.golang.org/api](https://togithub.com/googleapis/google-api-go-client)
| require | minor | `v0.128.0` -> `v0.139.0` |

---

### Release Notes

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

### [`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

</details>

<details>
<summary>googleapis/google-api-go-client
(google.golang.org/api)</summary>

###
[`v0.139.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.139.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.138.0...v0.139.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2120](https://togithub.com/googleapis/google-api-go-client/issues/2120))
([fd53dce](https://togithub.com/googleapis/google-api-go-client/commit/fd53dcead5d0eda81cfcd480ed1263c668e30510))
- **all:** Auto-regenerate discovery clients
([#&#8203;2142](https://togithub.com/googleapis/google-api-go-client/issues/2142))
([8e1c21a](https://togithub.com/googleapis/google-api-go-client/commit/8e1c21a164e10b3fe3c94d47c637e9a236c5aa09))

##### Documentation

- Point more users forward
([#&#8203;2126](https://togithub.com/googleapis/google-api-go-client/issues/2126))
([62d88ff](https://togithub.com/googleapis/google-api-go-client/commit/62d88ff7c06b828324b3cf5fd004cdf75838f496))

###
[`v0.138.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.138.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.137.0...v0.138.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2115](https://togithub.com/googleapis/google-api-go-client/issues/2115))
([1770219](https://togithub.com/googleapis/google-api-go-client/commit/17702192ed1c3520841bf005504d62a675f9a2b0))
- **all:** Auto-regenerate discovery clients
([#&#8203;2118](https://togithub.com/googleapis/google-api-go-client/issues/2118))
([40ea606](https://togithub.com/googleapis/google-api-go-client/commit/40ea606a2218396bcd4235737829f98057153852))
- **all:** Auto-regenerate discovery clients
([#&#8203;2119](https://togithub.com/googleapis/google-api-go-client/issues/2119))
([9b75278](https://togithub.com/googleapis/google-api-go-client/commit/9b7527848a21a7baffbac4778841d89eff45a515))

###
[`v0.137.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.137.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.136.0...v0.137.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2106](https://togithub.com/googleapis/google-api-go-client/issues/2106))
([3f3ed3d](https://togithub.com/googleapis/google-api-go-client/commit/3f3ed3da191394d25fd28f60ec1a51fddaf43a4a))
- **all:** Auto-regenerate discovery clients
([#&#8203;2108](https://togithub.com/googleapis/google-api-go-client/issues/2108))
([80485e0](https://togithub.com/googleapis/google-api-go-client/commit/80485e0e9a1bae98714d695ed2efff6187618d57))
- **all:** Auto-regenerate discovery clients
([#&#8203;2110](https://togithub.com/googleapis/google-api-go-client/issues/2110))
([4d775db](https://togithub.com/googleapis/google-api-go-client/commit/4d775db7cf6eb71fad1f67b022736f3b2de09a0b))
- **all:** Auto-regenerate discovery clients
([#&#8203;2111](https://togithub.com/googleapis/google-api-go-client/issues/2111))
([0cc62ab](https://togithub.com/googleapis/google-api-go-client/commit/0cc62aba44965ffc10e33c2e43cc7260e836e504))
- **all:** Auto-regenerate discovery clients
([#&#8203;2112](https://togithub.com/googleapis/google-api-go-client/issues/2112))
([f7f1c7b](https://togithub.com/googleapis/google-api-go-client/commit/f7f1c7b4c610f6a41c130c3bb85d6a609e99fb37))
- **all:** Auto-regenerate discovery clients
([#&#8203;2113](https://togithub.com/googleapis/google-api-go-client/issues/2113))
([142ffeb](https://togithub.com/googleapis/google-api-go-client/commit/142ffebac56456c904234248a004175aa41e035c))
- Ok to use S2A with override endpoint
([#&#8203;2114](https://togithub.com/googleapis/google-api-go-client/issues/2114))
([caea956](https://togithub.com/googleapis/google-api-go-client/commit/caea95689f82049822552cd649765335123831e0))

###
[`v0.136.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.136.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.135.0...v0.136.0)

##### Features

- Add additional checks before using S2A
([#&#8203;2103](https://togithub.com/googleapis/google-api-go-client/issues/2103))
([c62e5c6](https://togithub.com/googleapis/google-api-go-client/commit/c62e5c6665e06611d792c892028c8e5e840f8447))
- **all:** Auto-regenerate discovery clients
([#&#8203;2104](https://togithub.com/googleapis/google-api-go-client/issues/2104))
([8029f73](https://togithub.com/googleapis/google-api-go-client/commit/8029f731063d2c0e6cd22e9a1e92b511e7105740))

###
[`v0.135.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.135.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.134.0...v0.135.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2087](https://togithub.com/googleapis/google-api-go-client/issues/2087))
([8875932](https://togithub.com/googleapis/google-api-go-client/commit/887593261797511aab9c7248c16dcf9340f87e0c))
- **all:** Auto-regenerate discovery clients
([#&#8203;2089](https://togithub.com/googleapis/google-api-go-client/issues/2089))
([c4d9f14](https://togithub.com/googleapis/google-api-go-client/commit/c4d9f1454037dbe8603cef2552cf9ce6992a8781))
- **all:** Auto-regenerate discovery clients
([#&#8203;2090](https://togithub.com/googleapis/google-api-go-client/issues/2090))
([8ba6963](https://togithub.com/googleapis/google-api-go-client/commit/8ba6963062f42f9745db3086e510427690e40964))
- **all:** Auto-regenerate discovery clients
([#&#8203;2091](https://togithub.com/googleapis/google-api-go-client/issues/2091))
([597995c](https://togithub.com/googleapis/google-api-go-client/commit/597995c005371797cba1357406a8b83cf447e345))
- **all:** Auto-regenerate discovery clients
([#&#8203;2093](https://togithub.com/googleapis/google-api-go-client/issues/2093))
([2b1c61f](https://togithub.com/googleapis/google-api-go-client/commit/2b1c61f398cb7e2d5608107e9dfa15e5d071161b))
- **all:** Auto-regenerate discovery clients
([#&#8203;2094](https://togithub.com/googleapis/google-api-go-client/issues/2094))
([979195d](https://togithub.com/googleapis/google-api-go-client/commit/979195dc3f80682f1e4800316898974f74d38b77))
- **all:** Auto-regenerate discovery clients
([#&#8203;2095](https://togithub.com/googleapis/google-api-go-client/issues/2095))
([1e19c22](https://togithub.com/googleapis/google-api-go-client/commit/1e19c228cf37b343283c5af2665517cd1596b2e1))
- **all:** Auto-regenerate discovery clients
([#&#8203;2096](https://togithub.com/googleapis/google-api-go-client/issues/2096))
([e59738c](https://togithub.com/googleapis/google-api-go-client/commit/e59738ce2254a7da00e49ae52e46f4bc9a9b7ee3))
- **all:** Auto-regenerate discovery clients
([#&#8203;2098](https://togithub.com/googleapis/google-api-go-client/issues/2098))
([ff054ff](https://togithub.com/googleapis/google-api-go-client/commit/ff054ffae64330a75d1e38448646b540eee3afbb))
- **all:** Auto-regenerate discovery clients
([#&#8203;2099](https://togithub.com/googleapis/google-api-go-client/issues/2099))
([b16a2d3](https://togithub.com/googleapis/google-api-go-client/commit/b16a2d31763144ab92c4eba73aa5fcc5b418789d))
- **all:** Auto-regenerate discovery clients
([#&#8203;2100](https://togithub.com/googleapis/google-api-go-client/issues/2100))
([262aa70](https://togithub.com/googleapis/google-api-go-client/commit/262aa706a39b99020c542fae1d5f8a73eb139e33))
- **all:** Auto-regenerate discovery clients
([#&#8203;2102](https://togithub.com/googleapis/google-api-go-client/issues/2102))
([8fbf572](https://togithub.com/googleapis/google-api-go-client/commit/8fbf5724ef77000d747c0457fbc0dbe6ee7da980))

###
[`v0.134.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.134.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.133.0...v0.134.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2084](https://togithub.com/googleapis/google-api-go-client/issues/2084))
([66d077d](https://togithub.com/googleapis/google-api-go-client/commit/66d077dbdef9a9c5cf83d88aaff80460b0207a9e))
- **all:** Auto-regenerate discovery clients
([#&#8203;2086](https://togithub.com/googleapis/google-api-go-client/issues/2086))
([aec89b7](https://togithub.com/googleapis/google-api-go-client/commit/aec89b79d52c03c5574ccadd83185b112b5b34fb))

###
[`v0.133.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.133.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.132.0...v0.133.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2077](https://togithub.com/googleapis/google-api-go-client/issues/2077))
([d9bd05b](https://togithub.com/googleapis/google-api-go-client/commit/d9bd05beb8861c3c1b2ac8e7dd57afcfcf871644))
- **all:** Auto-regenerate discovery clients
([#&#8203;2079](https://togithub.com/googleapis/google-api-go-client/issues/2079))
([b88678a](https://togithub.com/googleapis/google-api-go-client/commit/b88678afb55f875ad7673d049c8c0bb75affe116))
- **all:** Auto-regenerate discovery clients
([#&#8203;2080](https://togithub.com/googleapis/google-api-go-client/issues/2080))
([3a5236c](https://togithub.com/googleapis/google-api-go-client/commit/3a5236c9a884daf059ba58f90e7a842b18eefc4e))
- **all:** Auto-regenerate discovery clients
([#&#8203;2081](https://togithub.com/googleapis/google-api-go-client/issues/2081))
([94f3caf](https://togithub.com/googleapis/google-api-go-client/commit/94f3caf04025b4a169e6a307c54c20b8e388b956))
- **all:** Auto-regenerate discovery clients
([#&#8203;2082](https://togithub.com/googleapis/google-api-go-client/issues/2082))
([0846d92](https://togithub.com/googleapis/google-api-go-client/commit/0846d9297408b2a37932a3b907bd57df5e7da79a))

###
[`v0.132.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.132.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.131.0...v0.132.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2065](https://togithub.com/googleapis/google-api-go-client/issues/2065))
([25a3230](https://togithub.com/googleapis/google-api-go-client/commit/25a3230956a5524a55314a0959d2f251293128b4))
- **all:** Auto-regenerate discovery clients
([#&#8203;2069](https://togithub.com/googleapis/google-api-go-client/issues/2069))
([16cf0c3](https://togithub.com/googleapis/google-api-go-client/commit/16cf0c3c1f8d16ede4df09c6cbbbcd87cc38ad89))
- **all:** Auto-regenerate discovery clients
([#&#8203;2072](https://togithub.com/googleapis/google-api-go-client/issues/2072))
([52ac522](https://togithub.com/googleapis/google-api-go-client/commit/52ac52201c6d4bdbb5a5a7b841da53d053a3a00b))
- **all:** Auto-regenerate discovery clients
([#&#8203;2073](https://togithub.com/googleapis/google-api-go-client/issues/2073))
([0011a92](https://togithub.com/googleapis/google-api-go-client/commit/0011a92bffa275ec61ae37399c43c85fb0d1fecc))
- **all:** Auto-regenerate discovery clients
([#&#8203;2075](https://togithub.com/googleapis/google-api-go-client/issues/2075))
([25d96d9](https://togithub.com/googleapis/google-api-go-client/commit/25d96d9a958d3152c1ff50b19d2277211da862f3))
- **all:** Auto-regenerate discovery clients
([#&#8203;2076](https://togithub.com/googleapis/google-api-go-client/issues/2076))
([334c07e](https://togithub.com/googleapis/google-api-go-client/commit/334c07ed354828145ee6e61c3722471ee8260eb4))

###
[`v0.131.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.131.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.130.0...v0.131.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2054](https://togithub.com/googleapis/google-api-go-client/issues/2054))
([1b0f818](https://togithub.com/googleapis/google-api-go-client/commit/1b0f818bc9e7049967d49cafd6fe419c1c786c86))
- **all:** Auto-regenerate discovery clients
([#&#8203;2058](https://togithub.com/googleapis/google-api-go-client/issues/2058))
([e871335](https://togithub.com/googleapis/google-api-go-client/commit/e871335ad6700d89d2b9629db99d1e674d5b9cad))
- **all:** Auto-regenerate discovery clients
([#&#8203;2059](https://togithub.com/googleapis/google-api-go-client/issues/2059))
([24b4d0b](https://togithub.com/googleapis/google-api-go-client/commit/24b4d0b3c502e1f3cd7d73fdfcf039fe8b6fa08c))
- **all:** Auto-regenerate discovery clients
([#&#8203;2060](https://togithub.com/googleapis/google-api-go-client/issues/2060))
([16ad84c](https://togithub.com/googleapis/google-api-go-client/commit/16ad84c503bdf262a9b4868bcb87f790c4ac478e))
- **all:** Auto-regenerate discovery clients
([#&#8203;2062](https://togithub.com/googleapis/google-api-go-client/issues/2062))
([90038ee](https://togithub.com/googleapis/google-api-go-client/commit/90038ee5c30ccbb808ee5f645df900b08c99b162))
- **all:** Auto-regenerate discovery clients
([#&#8203;2063](https://togithub.com/googleapis/google-api-go-client/issues/2063))
([524f72b](https://togithub.com/googleapis/google-api-go-client/commit/524f72bbe1fcf4cf5dab1b4deab555fe475f9291))
- **all:** Auto-regenerate discovery clients
([#&#8203;2064](https://togithub.com/googleapis/google-api-go-client/issues/2064))
([f391921](https://togithub.com/googleapis/google-api-go-client/commit/f391921d617b0cbe678c23e88e9cc392eb061837))
- **gensupport:** Pass in headers via context
([#&#8203;2052](https://togithub.com/googleapis/google-api-go-client/issues/2052))
([c836da9](https://togithub.com/googleapis/google-api-go-client/commit/c836da93b5de7664c38ece2e54a7c9025acc1dc0))

###
[`v0.130.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.130.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.129.0...v0.130.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2041](https://togithub.com/googleapis/google-api-go-client/issues/2041))
([dc4d425](https://togithub.com/googleapis/google-api-go-client/commit/dc4d425ae1e31ef6a9c9736dd32adbc530e54baa))
- **all:** Auto-regenerate discovery clients
([#&#8203;2043](https://togithub.com/googleapis/google-api-go-client/issues/2043))
([7a8816b](https://togithub.com/googleapis/google-api-go-client/commit/7a8816b1c4c0a6ac0e36ae07bc1d6737c13e7a4d))
- **all:** Auto-regenerate discovery clients
([#&#8203;2044](https://togithub.com/googleapis/google-api-go-client/issues/2044))
([380eafd](https://togithub.com/googleapis/google-api-go-client/commit/380eafd8ae92e184a2621c9ae73bc967e6829fec))
- **all:** Auto-regenerate discovery clients
([#&#8203;2045](https://togithub.com/googleapis/google-api-go-client/issues/2045))
([50d3e98](https://togithub.com/googleapis/google-api-go-client/commit/50d3e988448442d7eada2a85ad37596388beaa48))
- **all:** Auto-regenerate discovery clients
([#&#8203;2046](https://togithub.com/googleapis/google-api-go-client/issues/2046))
([6711565](https://togithub.com/googleapis/google-api-go-client/commit/6711565d141865432607cc49f0bb08486d0a5812))
- **all:** Auto-regenerate discovery clients
([#&#8203;2049](https://togithub.com/googleapis/google-api-go-client/issues/2049))
([5e08be4](https://togithub.com/googleapis/google-api-go-client/commit/5e08be4f052b052c1d2e25f8f762d028c1527c4e))
- **all:** Auto-regenerate discovery clients
([#&#8203;2050](https://togithub.com/googleapis/google-api-go-client/issues/2050))
([d79dfc2](https://togithub.com/googleapis/google-api-go-client/commit/d79dfc2722ff39e5674d3d66bd86496b63dc8204))
- **all:** Auto-regenerate discovery clients
([#&#8203;2051](https://togithub.com/googleapis/google-api-go-client/issues/2051))
([5ec0817](https://togithub.com/googleapis/google-api-go-client/commit/5ec0817bc6a56f87b5727c9c845f0d30734469b0))

###
[`v0.129.0`](https://togithub.com/googleapis/google-api-go-client/releases/tag/v0.129.0)

[Compare
Source](https://togithub.com/googleapis/google-api-go-client/compare/v0.128.0...v0.129.0)

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;2028](https://togithub.com/googleapis/google-api-go-client/issues/2028))
([922fc6a](https://togithub.com/googleapis/google-api-go-client/commit/922fc6a38962d441b49d8592d62b5b4c70354b7a))
- **all:** Auto-regenerate discovery clients
([#&#8203;2030](https://togithub.com/googleapis/google-api-go-client/issues/2030))
([3eb845f](https://togithub.com/googleapis/google-api-go-client/commit/3eb845f12832f5a8943983d54b4a23da38e6f0ba))
- **all:** Auto-regenerate discovery clients
([#&#8203;2032](https://togithub.com/googleapis/google-api-go-client/issues/2032))
([247ad09](https://togithub.com/googleapis/google-api-go-client/commit/247ad09c5eaa9c06208a1acd99ccbf3b41b5e8f4))
- **all:** Auto-regenerate discovery clients
([#&#8203;2033](https://togithub.com/googleapis/google-api-go-client/issues/2033))
([cc73573](https://togithub.com/googleapis/google-api-go-client/commit/cc73573e605b04cdaabb4bdfbc355d79c6fba8ba))
- **all:** Auto-regenerate discovery clients
([#&#8203;2035](https://togithub.com/googleapis/google-api-go-client/issues/2035))
([177408e](https://togithub.com/googleapis/google-api-go-client/commit/177408ea127ce2e5a171fa54008838560203e587))
- **all:** Auto-regenerate discovery clients
([#&#8203;2040](https://togithub.com/googleapis/google-api-go-client/issues/2040))
([5e1c531](https://togithub.com/googleapis/google-api-go-client/commit/5e1c531ef949b53a8997c25e3f4ea7943b3335b7))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on wednesday" 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
zydou pushed a commit to zydou/tea that referenced this pull request Sep 25, 2023
This PR contains the following updates:

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

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

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

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

[Compare Source](go-git/go-git@v5.8.0...v5.8.1)

#### What's Changed

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

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

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

[Compare Source](go-git/go-git@v5.7.0...v5.8.0)

#### What's Changed

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

#### New Contributors

-   [@&#8203;Jleagle](https://github.com/Jleagle) made their first contribution in go-git/go-git#772
-   [@&#8203;pascal-hofmann](https://github.com/pascal-hofmann) made their first contribution in go-git/go-git#357
-   [@&#8203;ricci2511](https://github.com/ricci2511) made their first contribution in go-git/go-git#808
-   [@&#8203;L11R](https://github.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://github.com/go-git/go-git/releases/tag/v5.7.0)

[Compare Source](go-git/go-git@v5.6.1...v5.7.0)

#### What's Changed

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

#### New Contributors

-   [@&#8203;ZauberNerd](https://github.com/ZauberNerd) made their first contribution in go-git/go-git#485
-   [@&#8203;jotadrilo](https://github.com/jotadrilo) made their first contribution in go-git/go-git#715
-   [@&#8203;fcharlie](https://github.com/fcharlie) made their first contribution in go-git/go-git#743
-   [@&#8203;AriehSchneier](https://github.com/AriehSchneier) made their first contribution in go-git/go-git#755
-   [@&#8203;cbbm142](https://github.com/cbbm142) made their first contribution in go-git/go-git#719
-   [@&#8203;aryan9600](https://github.com/aryan9600) made their first contribution in go-git/go-git#744
-   [@&#8203;matejrisek](https://github.com/matejrisek) made their first contribution in go-git/go-git#754
-   [@&#8203;andrewpollock](https://github.com/andrewpollock) made their first contribution in go-git/go-git#753
-   [@&#8203;techknowlogick](https://github.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://github.com/go-git/go-git/releases/tag/v5.6.1)

[Compare Source](go-git/go-git@v5.6.0...v5.6.1)

#### What's Changed

-   plumbing/transport: don't use the `firstErrLine` when it is empty by [@&#8203;ThinkChaos](https://github.com/ThinkChaos) in go-git/go-git#682
-   plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in go-git/go-git#655
-   storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by [@&#8203;MichaelMure](https://github.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://github.com/dependabot) in go-git/go-git#684
-   \*: bump dependencies by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#697
-   \*: fix panic for empty revisions by [@&#8203;pjbgf](https://github.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://github.com/pjbgf) in go-git/go-git#701

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

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

[Compare Source](go-git/go-git@v5.5.2...v5.6.0)

#### What's Changed

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

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

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

[Compare Source](go-git/go-git@v5.5.1...v5.5.2)

#### What's Changed

-   \*: update go-billy v5.4.0, removes data races. Fixes [#&#8203;629](go-git/go-git#629) by [@&#8203;mcuadros](https://github.com/mcuadros) in go-git/go-git#653
-   Worktree: Add, fix add removed files. Fixes [#&#8203;223](go-git/go-git#223) by [@&#8203;tfujiwar](https://github.com/tfujiwar) in go-git/go-git#652

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

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

[Compare Source](go-git/go-git@v5.5.0...v5.5.1)

#### What's Changed

-   \*: fix error when building with `CGO_ENABLED=0` by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#625
-   plumbing: transport/ssh: fix panic on Windows 10 with paegent as ssh-agent by [@&#8203;doxsch](https://github.com/doxsch) in go-git/go-git#617
-   CommitOptions: AllowEmptyCommits, return an error instead of creating empty commits by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#623

**Full Changelog**: go-git/go-git@v5.5.0...v5.5.1

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

[Compare Source](go-git/go-git@v5.4.2...v5.5.0)

#### What's Changed

-   \*: add collision resistent SHA1 implementation by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#618
-   \*: replace go-homedir with os.UserHomeDir by [@&#8203;mvdan](https://github.com/mvdan) in go-git/go-git#535
-   Remote: add RemoteURL to {Fetch,Pull,Push}Options by [@&#8203;noerw](https://github.com/noerw) in go-git/go-git#375
-   Remote: Push, add support to push commits per hashes by [@&#8203;tjamet](https://github.com/tjamet) in go-git/go-git#325
-   Remote: Push, add ForceWithLease Push Option by [@&#8203;john-cai](https://github.com/john-cai) in go-git/go-git#404
-   Remote: PushOptions add push-options by [@&#8203;S-Bohn](https://github.com/S-Bohn) in go-git/go-git#399
-   Remote: Push, add atomic to push options by [@&#8203;john-cai](https://github.com/john-cai) in go-git/go-git#406
-   Remote: add FollowTags option for pushes by [@&#8203;john-cai](https://github.com/john-cai) in go-git/go-git#385
-   Worktree: use syscall.Timespec.Unix by [@&#8203;tklauser](https://github.com/tklauser) in go-git/go-git#437
-   Worktree: Checkout, simplified sparse checkout by [@&#8203;john-cai](https://github.com/john-cai) in go-git/go-git#410
-   Repository: don't crash accessing invalid pathinfo by [@&#8203;muesli](https://github.com/muesli) in go-git/go-git#443
-   storage: filesystem, switch from os.SEEK_\* to io.Seek\* by [@&#8203;abhinav](https://github.com/abhinav) in go-git/go-git#421
-   config: add branch description support by [@&#8203;ninedraft](https://github.com/ninedraft) in go-git/go-git#409
-   revision: fix endless looping in revision parser by [@&#8203;michenriksen](https://github.com/michenriksen) in go-git/go-git#475
-   pumbling: optimise zlib reader and consolidate sync.Pools by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#608
-   pumbling: parse optimisations by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#602
-   plumbing: object, rename calculation uses too much memory by [@&#8203;jfontan](https://github.com/jfontan) in go-git/go-git#503
-   plumbing: protocol/pakp and server, include the contents of `GO_GIT_USER_AGENT_EXTRA`. Fixes [#&#8203;529](go-git/go-git#529) by [@&#8203;stewing](https://github.com/stewing) in go-git/go-git#531
-   plumbing: protocol/pakp, avoid duplicate encoding when overriding a Capability value. by [@&#8203;tylerchr](https://github.com/tylerchr) in go-git/go-git#521
-   plumbing: protocol/pakp, update agent by [@&#8203;caarlos0](https://github.com/caarlos0) in go-git/go-git#453
-   plumbing: protocol/pakp: Actions should have type Action by [@&#8203;abhinav](https://github.com/abhinav) in go-git/go-git#420
-   plumbing: protocol/pakp: allow unsupported `multi_ack` capability by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#613
-   plumbing: transport/ssh, auto-populate HostKeyAlgorithms. Fixes [#&#8203;411](go-git/go-git#411) by [@&#8203;evanelias](https://github.com/evanelias) in go-git/go-git#548
-   pumbling: format/packfile, resolve external reference delta by [@&#8203;ga-paul-t](https://github.com/ga-paul-t) in go-git/go-git#392
-   plumbing: format/packfile, prevent large objects from being read into memory completely by [@&#8203;zeripath](https://github.com/zeripath) in go-git/go-git#330
-   plumbing: format/index, support v3 index by [@&#8203;john-cai](https://github.com/john-cai) in go-git/go-git#407
-   plumbing: format/gitignore, Read .git/info/exclude file too. by [@&#8203;enisdenjo](https://github.com/enisdenjo) in go-git/go-git#402
-   plumbing: format/gitattributes, Avoid index out of range  by [@&#8203;To1ne](https://github.com/To1ne) in go-git/go-git#598
-   plumbing: format/config, Branch name with hash can be cloned. Fixes [#&#8203;309](go-git/go-git#309) by [@&#8203;dowy](https://github.com/dowy) in go-git/go-git#354
-   go.mod: update github.com/xanzy/ssh-agent to v0.3.1 by [@&#8203;tklauser](https://github.com/tklauser) in go-git/go-git#403
-   go.mod: update dependencies to remove supply chain CVEs by [@&#8203;pjbgf](https://github.com/pjbgf) in go-git/go-git#620
-   examples: added "tag find if head is tagged" by [@&#8203;snebel29](https://github.com/snebel29) in go-git/go-git#374
-   examples: remote fix typo by [@&#8203;nep-0](https://github.com/nep-0) in go-git/go-git#408

**Full Changelog**: go-git/go-git@v5.4.2...v5.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/tea/pulls/578
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
@pjbgf pjbgf mentioned this pull request Sep 29, 2023
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