go-git/go-git (github.com/go-git/go-git/v5)
### [`v5.12.0`](https://togithub.com/go-git/go-git/releases/tag/v5.12.0)
[Compare Source](https://togithub.com/go-git/go-git/compare/v5.11.0...v5.12.0)
#### What's Changed
- git: Worktree.AddWithOptions: add skipStatus option when providing a specific path by [@moranCohen26](https://togithub.com/moranCohen26) in [https://github.com/go-git/go-git/pull/994](https://togithub.com/go-git/go-git/pull/994)
- git: Signer: fix usage of crypto.Signer interface by [@wlynch](https://togithub.com/wlynch) in [https://github.com/go-git/go-git/pull/1029](https://togithub.com/go-git/go-git/pull/1029)
- git: Remote, fetch, adds the prune option. by [@juliens](https://togithub.com/juliens) in [https://github.com/go-git/go-git/pull/366](https://togithub.com/go-git/go-git/pull/366)
- git: Add crypto.Signer option to CommitOptions. by [@wlynch](https://togithub.com/wlynch) in [https://github.com/go-git/go-git/pull/996](https://togithub.com/go-git/go-git/pull/996)
- git: Worktree checkout tag hash id ([#959](https://togithub.com/go-git/go-git/issues/959)) by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/966](https://togithub.com/go-git/go-git/pull/966)
- git: Worktree, Don't panic on empty or root path when checking if it is valid by [@tim775](https://togithub.com/tim775) in [https://github.com/go-git/go-git/pull/1042](https://togithub.com/go-git/go-git/pull/1042)
- git: Add commit validation for Reset by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/1048](https://togithub.com/go-git/go-git/pull/1048)
- git: worktree_commit, Fix amend commit to apply changes. Fixes [#1024](https://togithub.com/go-git/go-git/issues/1024) by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1045](https://togithub.com/go-git/go-git/pull/1045)
- git: Implement Merge function with initial `FastForwardMerge` support by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/1044](https://togithub.com/go-git/go-git/pull/1044)
- plumbing: object, Make first commit visible on logs filtered with filename. Fixes [#191](https://togithub.com/go-git/go-git/issues/191) by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1036](https://togithub.com/go-git/go-git/pull/1036)
- plumbing: no panic in printStats function. Fixes [#177](https://togithub.com/go-git/go-git/issues/177) by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/971](https://togithub.com/go-git/go-git/pull/971)
- plumbing: object, Optimize logging with file. by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1046](https://togithub.com/go-git/go-git/pull/1046)
- plumbing: object, check legitimacy in (\*Tree).Encode by [@niukuo](https://togithub.com/niukuo) in [https://github.com/go-git/go-git/pull/967](https://togithub.com/go-git/go-git/pull/967)
- plumbing: format/gitattributes, close file in ReadAttributesFile by [@prskr](https://togithub.com/prskr) in [https://github.com/go-git/go-git/pull/1018](https://togithub.com/go-git/go-git/pull/1018)
- plumbing: check setAuth error. Fixes [#185](https://togithub.com/go-git/go-git/issues/185) by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/969](https://togithub.com/go-git/go-git/pull/969)
- plumbing: object, fix variable defaultUtf8CommitMessageEncoding name spell error by [@Jerry-yz](https://togithub.com/Jerry-yz) in [https://github.com/go-git/go-git/pull/987](https://togithub.com/go-git/go-git/pull/987)
- utils: merkletrie, calculate filesystem node's hash lazily. by [@candid82](https://togithub.com/candid82) in [https://github.com/go-git/go-git/pull/825](https://togithub.com/go-git/go-git/pull/825)
- utils: update comment in node.go's Hash() by [@codablock](https://togithub.com/codablock) in [https://github.com/go-git/go-git/pull/992](https://togithub.com/go-git/go-git/pull/992)
- \_example: fix 404 link and added ssh-agent clone link by [@grinish21](https://togithub.com/grinish21) in [https://github.com/go-git/go-git/pull/1022](https://togithub.com/go-git/go-git/pull/1022)
- \_example: checkout-branch example by [@dlambda](https://togithub.com/dlambda) in [https://github.com/go-git/go-git/pull/446](https://togithub.com/go-git/go-git/pull/446)
- \_example: example for git clone using ssh-agent by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/998](https://togithub.com/go-git/go-git/pull/998)
#### New Contributors
- [@candid82](https://togithub.com/candid82) made their first contribution in [https://github.com/go-git/go-git/pull/825](https://togithub.com/go-git/go-git/pull/825)
- [@codablock](https://togithub.com/codablock) made their first contribution in [https://github.com/go-git/go-git/pull/992](https://togithub.com/go-git/go-git/pull/992)
- [@Jerry-yz](https://togithub.com/Jerry-yz) made their first contribution in [https://github.com/go-git/go-git/pull/987](https://togithub.com/go-git/go-git/pull/987)
- [@wlynch](https://togithub.com/wlynch) made their first contribution in [https://github.com/go-git/go-git/pull/996](https://togithub.com/go-git/go-git/pull/996)
- [@moranCohen26](https://togithub.com/moranCohen26) made their first contribution in [https://github.com/go-git/go-git/pull/994](https://togithub.com/go-git/go-git/pull/994)
- [@grinish21](https://togithub.com/grinish21) made their first contribution in [https://github.com/go-git/go-git/pull/1022](https://togithub.com/go-git/go-git/pull/1022)
- [@prskr](https://togithub.com/prskr) made their first contribution in [https://github.com/go-git/go-git/pull/1018](https://togithub.com/go-git/go-git/pull/1018)
- [@dlambda](https://togithub.com/dlambda) made their first contribution in [https://github.com/go-git/go-git/pull/446](https://togithub.com/go-git/go-git/pull/446)
- [@juliens](https://togithub.com/juliens) made their first contribution in [https://github.com/go-git/go-git/pull/366](https://togithub.com/go-git/go-git/pull/366)
- [@onee-only](https://togithub.com/onee-only) made their first contribution in [https://github.com/go-git/go-git/pull/1036](https://togithub.com/go-git/go-git/pull/1036)
- [@tim775](https://togithub.com/tim775) made their first contribution in [https://github.com/go-git/go-git/pull/1042](https://togithub.com/go-git/go-git/pull/1042)
- [@niukuo](https://togithub.com/niukuo) made their first contribution in [https://github.com/go-git/go-git/pull/967](https://togithub.com/go-git/go-git/pull/967)
- [@avoidalone](https://togithub.com/avoidalone) made their first contribution in [https://github.com/go-git/go-git/pull/1047](https://togithub.com/go-git/go-git/pull/1047)
**Full Changelog**: https://github.com/go-git/go-git/compare/v5.11.0...v5.12.0
### [`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 ([#929](https://togithub.com/go-git/go-git/issues/929)) by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/950](https://togithub.com/go-git/go-git/pull/950)
- git: stop iterating at oldest shallow when pulling. Fixes [#305](https://togithub.com/go-git/go-git/issues/305) by [@dhoizner](https://togithub.com/dhoizner) in [https://github.com/go-git/go-git/pull/939](https://togithub.com/go-git/go-git/pull/939)
- plumbing: object, enable renames in getFileStatsFromFilePatches by [@djmoch](https://togithub.com/djmoch) in [https://github.com/go-git/go-git/pull/941](https://togithub.com/go-git/go-git/pull/941)
- storage: filesystem, Add option to set a specific FS for alternates by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/953](https://togithub.com/go-git/go-git/pull/953)
- Align worktree validation with upstream and remove build warnings by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/958](https://togithub.com/go-git/go-git/pull/958)
#### New Contributors
- [@dhoizner](https://togithub.com/dhoizner) made their first contribution in [https://github.com/go-git/go-git/pull/939](https://togithub.com/go-git/go-git/pull/939)
- [@djmoch](https://togithub.com/djmoch) made their first contribution in [https://github.com/go-git/go-git/pull/941](https://togithub.com/go-git/go-git/pull/941)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@steiler](https://togithub.com/steiler) in [https://github.com/go-git/go-git/pull/930](https://togithub.com/go-git/go-git/pull/930)
- git: add tracer package by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/916](https://togithub.com/go-git/go-git/pull/916)
- remote: Flip clause for fast-forward only check by [@adityasaky](https://togithub.com/adityasaky) in [https://github.com/go-git/go-git/pull/875](https://togithub.com/go-git/go-git/pull/875)
- plumbing: transport/ssh, Fix nil pointer dereference caused when an unreachable proxy server is set. Fixes [#900](https://togithub.com/go-git/go-git/issues/900) by [@anandf](https://togithub.com/anandf) in [https://github.com/go-git/go-git/pull/901](https://togithub.com/go-git/go-git/pull/901)
- plumbing: uppload-server-info, implement upload-server-info by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/896](https://togithub.com/go-git/go-git/pull/896)
- plumbing: optimise memory consumption for filesystem storage by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/799](https://togithub.com/go-git/go-git/pull/799)
- plumbing: format/packfile, Refactor patch delta by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/908](https://togithub.com/go-git/go-git/pull/908)
- plumbing: fix empty uploadpack request error by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/932](https://togithub.com/go-git/go-git/pull/932)
- plumbing: transport/git, Improve tests error message by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/752](https://togithub.com/go-git/go-git/pull/752)
- plumbing: format/pktline, Respect pktline error-line errors by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/936](https://togithub.com/go-git/go-git/pull/936)
- utils: remove ioutil.Pipe and use std library io.Pipe by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/922](https://togithub.com/go-git/go-git/pull/922)
- utils: move trace to utils by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/931](https://togithub.com/go-git/go-git/pull/931)
- cli: separate go module for cli by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/914](https://togithub.com/go-git/go-git/pull/914)
- build: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/887](https://togithub.com/go-git/go-git/pull/887)
- build: bump actions/setup-go from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/891](https://togithub.com/go-git/go-git/pull/891)
- build: bump github.com/skeema/knownhosts from 1.2.0 to 1.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/888](https://togithub.com/go-git/go-git/pull/888)
- build: bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/890](https://togithub.com/go-git/go-git/pull/890)
- build: bump golang.org/x/sys from 0.13.0 to 0.14.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/907](https://togithub.com/go-git/go-git/pull/907)
- build: bump golang.org/x/text from 0.13.0 to 0.14.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/906](https://togithub.com/go-git/go-git/pull/906)
- build: bump golang.org/x/crypto from 0.14.0 to 0.15.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/917](https://togithub.com/go-git/go-git/pull/917)
- build: bump golang.org/x/net from 0.17.0 to 0.18.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/918](https://togithub.com/go-git/go-git/pull/918)
#### New Contributors
- [@anandf](https://togithub.com/anandf) made their first contribution in [https://github.com/go-git/go-git/pull/901](https://togithub.com/go-git/go-git/pull/901)
- [@steiler](https://togithub.com/steiler) made their first contribution in [https://github.com/go-git/go-git/pull/930](https://togithub.com/go-git/go-git/pull/930)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/782](https://togithub.com/go-git/go-git/pull/782)
- Worktree, apply ProxyOption on Pull by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/840](https://togithub.com/go-git/go-git/pull/840)
- Repository: add clone --shared feature by [@enverbisevac](https://togithub.com/enverbisevac) in [https://github.com/go-git/go-git/pull/860](https://togithub.com/go-git/go-git/pull/860)
- build: Add github workflow to check commit message format by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/867](https://togithub.com/go-git/go-git/pull/867)
- Improve handling of remote errors by [@makkes](https://togithub.com/makkes) in [https://github.com/go-git/go-git/pull/866](https://togithub.com/go-git/go-git/pull/866)
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/873](https://togithub.com/go-git/go-git/pull/873)
- plumbing: commitgraph, Add generation v2 support by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/869](https://togithub.com/go-git/go-git/pull/869)
- plumbing: protocol/packp, Add validation for decodeLine by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/868](https://togithub.com/go-git/go-git/pull/868)
- plumbing: parse the encoding header of the commit object by [@liwenqiu](https://togithub.com/liwenqiu) in [https://github.com/go-git/go-git/pull/761](https://togithub.com/go-git/go-git/pull/761)
- plumbing: commitgraph, allow SHA256 commit-graphs by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/853](https://togithub.com/go-git/go-git/pull/853)
- plumbing: commitgraph, Allow reading commit-graph chains by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/854](https://togithub.com/go-git/go-git/pull/854)
- plumbing/object: Support mergetag in merge commits by [@adityasaky](https://togithub.com/adityasaky) in [https://github.com/go-git/go-git/pull/847](https://togithub.com/go-git/go-git/pull/847)
#### New Contributors
- [@nodivbyzero](https://togithub.com/nodivbyzero) made their first contribution in [https://github.com/go-git/go-git/pull/840](https://togithub.com/go-git/go-git/pull/840)
- [@adityasaky](https://togithub.com/adityasaky) made their first contribution in [https://github.com/go-git/go-git/pull/847](https://togithub.com/go-git/go-git/pull/847)
- [@hezhizhen](https://togithub.com/hezhizhen) made their first contribution in [https://github.com/go-git/go-git/pull/836](https://togithub.com/go-git/go-git/pull/836)
- [@0x34d](https://togithub.com/0x34d) made their first contribution in [https://github.com/go-git/go-git/pull/855](https://togithub.com/go-git/go-git/pull/855)
- [@liwenqiu](https://togithub.com/liwenqiu) made their first contribution in [https://github.com/go-git/go-git/pull/761](https://togithub.com/go-git/go-git/pull/761)
- [@enverbisevac](https://togithub.com/enverbisevac) made their first contribution in [https://github.com/go-git/go-git/pull/860](https://togithub.com/go-git/go-git/pull/860)
- [@makkes](https://togithub.com/makkes) made their first contribution in [https://github.com/go-git/go-git/pull/866](https://togithub.com/go-git/go-git/pull/866)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@john-cai](https://togithub.com/john-cai) in [https://github.com/go-git/go-git/pull/438](https://togithub.com/go-git/go-git/pull/438)
- git: worktree, reset ignored files that are part of the worktree: Fixes [#819](https://togithub.com/go-git/go-git/issues/819) by [@daolis](https://togithub.com/daolis) in [https://github.com/go-git/go-git/pull/821](https://togithub.com/go-git/go-git/pull/821)
- plumbing: Do not swallow http message coming from VCS providers by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/835](https://togithub.com/go-git/go-git/pull/835)
- plumbing: transport, handle IPv6 while parsing endpoint. Fixes [#740](https://togithub.com/go-git/go-git/issues/740) by [@ninedraft](https://togithub.com/ninedraft) in [https://github.com/go-git/go-git/pull/820](https://togithub.com/go-git/go-git/pull/820)
- \*: update goproxy dependency to fix CVE-2023-37788 vulnerability by [@svghadi](https://togithub.com/svghadi) in [https://github.com/go-git/go-git/pull/832](https://togithub.com/go-git/go-git/pull/832)
- \*: bump dependencies and Go to 1.19 by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/837](https://togithub.com/go-git/go-git/pull/837)
#### New Contributors
- [@svghadi](https://togithub.com/svghadi) made their first contribution in [https://github.com/go-git/go-git/pull/832](https://togithub.com/go-git/go-git/pull/832)
- [@daolis](https://togithub.com/daolis) made their first contribution in [https://github.com/go-git/go-git/pull/821](https://togithub.com/go-git/go-git/pull/821)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/815](https://togithub.com/go-git/go-git/pull/815)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [#305](https://togithub.com/go-git/go-git/issues/305) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/778](https://togithub.com/go-git/go-git/pull/778)
- git: enable fetch with unqualified references by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/762](https://togithub.com/go-git/go-git/pull/762)
- git: don't add to want if exists, shallow and depth 1 by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/763](https://togithub.com/go-git/go-git/pull/763)
- git: Clone HEAD should not force master. Fixes [#363](https://togithub.com/go-git/go-git/issues/363) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/758](https://togithub.com/go-git/go-git/pull/758)
- git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/756](https://togithub.com/go-git/go-git/pull/756)
- git: add a clone option to allow for shallow cloning of submodules by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/765](https://togithub.com/go-git/go-git/pull/765)
- worktree: minor speedup for `doAddDirectory` by [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/702](https://togithub.com/go-git/go-git/pull/702)
- \_examples: Remove wrong comment by [@pascal-hofmann](https://togithub.com/pascal-hofmann) in [https://github.com/go-git/go-git/pull/357](https://togithub.com/go-git/go-git/pull/357)
- \*: Handle paths starting with tilde by [@ricci2511](https://togithub.com/ricci2511) in [https://github.com/go-git/go-git/pull/808](https://togithub.com/go-git/go-git/pull/808)
- \*: Handle paths starting with ~Username by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/809](https://togithub.com/go-git/go-git/pull/809)
- storage: filesystem/dotgit, add support for tmp_objdir prefix by [@L11R](https://togithub.com/L11R) in [https://github.com/go-git/go-git/pull/812](https://togithub.com/go-git/go-git/pull/812)
- plumbing: gitignore, replace user dir in path by [@Jleagle](https://togithub.com/Jleagle) in [https://github.com/go-git/go-git/pull/772](https://togithub.com/go-git/go-git/pull/772)
- plumbing: gitignore, fix incorrect parsing. Fixes [#500](https://togithub.com/go-git/go-git/issues/500) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/781](https://togithub.com/go-git/go-git/pull/781)
- plumbing: http, Fix empty repos on Git v2.41+ by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/802](https://togithub.com/go-git/go-git/pull/802)
- plumbing: packp, A request is not empty if it contains shallows. Fixes [#328](https://togithub.com/go-git/go-git/issues/328) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/792](https://togithub.com/go-git/go-git/pull/792)
- plumbing: blame, Complete rewrite. Fixes [#603](https://togithub.com/go-git/go-git/issues/603) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/789](https://togithub.com/go-git/go-git/pull/789)
- plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes [#578](https://togithub.com/go-git/go-git/issues/578) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/785](https://togithub.com/go-git/go-git/pull/785)
#### New Contributors
- [@Jleagle](https://togithub.com/Jleagle) made their first contribution in [https://github.com/go-git/go-git/pull/772](https://togithub.com/go-git/go-git/pull/772)
- [@pascal-hofmann](https://togithub.com/pascal-hofmann) made their first contribution in [https://github.com/go-git/go-git/pull/357](https://togithub.com/go-git/go-git/pull/357)
- [@ricci2511](https://togithub.com/ricci2511) made their first contribution in [https://github.com/go-git/go-git/pull/808](https://togithub.com/go-git/go-git/pull/808)
- [@L11R](https://togithub.com/L11R) made their first contribution in [https://github.com/go-git/go-git/pull/812](https://togithub.com/go-git/go-git/pull/812)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/707](https://togithub.com/go-git/go-git/pull/707)
- git: add mirror clone option by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/735](https://togithub.com/go-git/go-git/pull/735)
- git: Add support to ls-remote with peeled references. Fixes [#749](https://togithub.com/go-git/go-git/issues/749) by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/750](https://togithub.com/go-git/go-git/pull/750)
- git: fix cloning with branch name by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/755](https://togithub.com/go-git/go-git/pull/755)
- git: Worktree, add check to see if file already checked in. Fixes [#718](https://togithub.com/go-git/go-git/issues/718) by [@cbbm142](https://togithub.com/cbbm142) in [https://github.com/go-git/go-git/pull/719](https://togithub.com/go-git/go-git/pull/719)
- git: Worktree, git grep bare repositories by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/728](https://togithub.com/go-git/go-git/pull/728)
- git: Add Depth to SubmoduleUpdateOptions by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/754](https://togithub.com/go-git/go-git/pull/754)
- git: Testing, Fix tests not cleaning temp folders by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/769](https://togithub.com/go-git/go-git/pull/769)
- git: remote, add support for a configurable timeout. by [@andrewpollock](https://togithub.com/andrewpollock) in [https://github.com/go-git/go-git/pull/753](https://togithub.com/go-git/go-git/pull/753)
- git: Allow Initial Branch to be configurable by [@techknowlogick](https://togithub.com/techknowlogick) in [https://github.com/go-git/go-git/pull/764](https://togithub.com/go-git/go-git/pull/764)
- storage: filesystem/dotgit, Improve load packed-refs by [@fcharlie](https://togithub.com/fcharlie) in [https://github.com/go-git/go-git/pull/743](https://togithub.com/go-git/go-git/pull/743)
- storage: filesystem, Populate index before use. Fixes [#148](https://togithub.com/go-git/go-git/issues/148) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/722](https://togithub.com/go-git/go-git/pull/722)
- plumbing: resolve non-external delta references by [@ZauberNerd](https://togithub.com/ZauberNerd) in [https://github.com/go-git/go-git/pull/485](https://togithub.com/go-git/go-git/pull/485)
- plumbing/transport: fix regression in scp-like match by [@jotadrilo](https://togithub.com/jotadrilo) in [https://github.com/go-git/go-git/pull/715](https://togithub.com/go-git/go-git/pull/715)
- plumbing/transport: Add support for custom proxy settings by [@aryan9600](https://togithub.com/aryan9600) in [https://github.com/go-git/go-git/pull/744](https://togithub.com/go-git/go-git/pull/744)
- \*: small fixes across the codebase by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/770](https://togithub.com/go-git/go-git/pull/770)
- \*: bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/776](https://togithub.com/go-git/go-git/pull/776)
- \*: bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/748](https://togithub.com/go-git/go-git/pull/748)
- \*: bump Go version to 1.18 on go.mod by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/774](https://togithub.com/go-git/go-git/pull/774)
- \*: add Codeql workflow and bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/775](https://togithub.com/go-git/go-git/pull/775)
- ci: fix upstream git build for master branch by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/739](https://togithub.com/go-git/go-git/pull/739)
#### New Contributors
- [@ZauberNerd](https://togithub.com/ZauberNerd) made their first contribution in [https://github.com/go-git/go-git/pull/485](https://togithub.com/go-git/go-git/pull/485)
- [@jotadrilo](https://togithub.com/jotadrilo) made their first contribution in [https://github.com/go-git/go-git/pull/715](https://togithub.com/go-git/go-git/pull/715)
- [@fcharlie](https://togithub.com/fcharlie) made their first contribution in [https://github.com/go-git/go-git/pull/743](https://togithub.com/go-git/go-git/pull/743)
- [@AriehSchneier](https://togithub.com/AriehSchneier) made their first contribution in [https://github.com/go-git/go-git/pull/755](https://togithub.com/go-git/go-git/pull/755)
- [@cbbm142](https://togithub.com/cbbm142) made their first contribution in [https://github.com/go-git/go-git/pull/719](https://togithub.com/go-git/go-git/pull/719)
- [@aryan9600](https://togithub.com/aryan9600) made their first contribution in [https://github.com/go-git/go-git/pull/744](https://togithub.com/go-git/go-git/pull/744)
- [@matejrisek](https://togithub.com/matejrisek) made their first contribution in [https://github.com/go-git/go-git/pull/754](https://togithub.com/go-git/go-git/pull/754)
- [@andrewpollock](https://togithub.com/andrewpollock) made their first contribution in [https://github.com/go-git/go-git/pull/753](https://togithub.com/go-git/go-git/pull/753)
- [@techknowlogick](https://togithub.com/techknowlogick) made their first contribution in [https://github.com/go-git/go-git/pull/764](https://togithub.com/go-git/go-git/pull/764)
**Full Changelog**: https://github.com/go-git/go-git/compare/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 [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/682](https://togithub.com/go-git/go-git/pull/682)
- plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/655](https://togithub.com/go-git/go-git/pull/655)
- storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by [@MichaelMure](https://togithub.com/MichaelMure) in [https://github.com/go-git/go-git/pull/659](https://togithub.com/go-git/go-git/pull/659)
- \*: bump golang.org/x/net from 0.2.0 to 0.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/684](https://togithub.com/go-git/go-git/pull/684)
- \*: bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/697](https://togithub.com/go-git/go-git/pull/697)
- \*: fix panic for empty revisions by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/696](https://togithub.com/go-git/go-git/pull/696)
- ci: bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/701](https://togithub.com/go-git/go-git/pull/701)
**Full Changelog**: https://github.com/go-git/go-git/compare/v5.6.0...v5.6.1
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v5.6.0
->v5.12.0
Release Notes
go-git/go-git (github.com/go-git/go-git/v5)
### [`v5.12.0`](https://togithub.com/go-git/go-git/releases/tag/v5.12.0) [Compare Source](https://togithub.com/go-git/go-git/compare/v5.11.0...v5.12.0) #### What's Changed - git: Worktree.AddWithOptions: add skipStatus option when providing a specific path by [@moranCohen26](https://togithub.com/moranCohen26) in [https://github.com/go-git/go-git/pull/994](https://togithub.com/go-git/go-git/pull/994) - git: Signer: fix usage of crypto.Signer interface by [@wlynch](https://togithub.com/wlynch) in [https://github.com/go-git/go-git/pull/1029](https://togithub.com/go-git/go-git/pull/1029) - git: Remote, fetch, adds the prune option. by [@juliens](https://togithub.com/juliens) in [https://github.com/go-git/go-git/pull/366](https://togithub.com/go-git/go-git/pull/366) - git: Add crypto.Signer option to CommitOptions. by [@wlynch](https://togithub.com/wlynch) in [https://github.com/go-git/go-git/pull/996](https://togithub.com/go-git/go-git/pull/996) - git: Worktree checkout tag hash id ([#959](https://togithub.com/go-git/go-git/issues/959)) by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/966](https://togithub.com/go-git/go-git/pull/966) - git: Worktree, Don't panic on empty or root path when checking if it is valid by [@tim775](https://togithub.com/tim775) in [https://github.com/go-git/go-git/pull/1042](https://togithub.com/go-git/go-git/pull/1042) - git: Add commit validation for Reset by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/1048](https://togithub.com/go-git/go-git/pull/1048) - git: worktree_commit, Fix amend commit to apply changes. Fixes [#1024](https://togithub.com/go-git/go-git/issues/1024) by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1045](https://togithub.com/go-git/go-git/pull/1045) - git: Implement Merge function with initial `FastForwardMerge` support by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/1044](https://togithub.com/go-git/go-git/pull/1044) - plumbing: object, Make first commit visible on logs filtered with filename. Fixes [#191](https://togithub.com/go-git/go-git/issues/191) by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1036](https://togithub.com/go-git/go-git/pull/1036) - plumbing: no panic in printStats function. Fixes [#177](https://togithub.com/go-git/go-git/issues/177) by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/971](https://togithub.com/go-git/go-git/pull/971) - plumbing: object, Optimize logging with file. by [@onee-only](https://togithub.com/onee-only) in [https://github.com/go-git/go-git/pull/1046](https://togithub.com/go-git/go-git/pull/1046) - plumbing: object, check legitimacy in (\*Tree).Encode by [@niukuo](https://togithub.com/niukuo) in [https://github.com/go-git/go-git/pull/967](https://togithub.com/go-git/go-git/pull/967) - plumbing: format/gitattributes, close file in ReadAttributesFile by [@prskr](https://togithub.com/prskr) in [https://github.com/go-git/go-git/pull/1018](https://togithub.com/go-git/go-git/pull/1018) - plumbing: check setAuth error. Fixes [#185](https://togithub.com/go-git/go-git/issues/185) by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/969](https://togithub.com/go-git/go-git/pull/969) - plumbing: object, fix variable defaultUtf8CommitMessageEncoding name spell error by [@Jerry-yz](https://togithub.com/Jerry-yz) in [https://github.com/go-git/go-git/pull/987](https://togithub.com/go-git/go-git/pull/987) - utils: merkletrie, calculate filesystem node's hash lazily. by [@candid82](https://togithub.com/candid82) in [https://github.com/go-git/go-git/pull/825](https://togithub.com/go-git/go-git/pull/825) - utils: update comment in node.go's Hash() by [@codablock](https://togithub.com/codablock) in [https://github.com/go-git/go-git/pull/992](https://togithub.com/go-git/go-git/pull/992) - \_example: fix 404 link and added ssh-agent clone link by [@grinish21](https://togithub.com/grinish21) in [https://github.com/go-git/go-git/pull/1022](https://togithub.com/go-git/go-git/pull/1022) - \_example: checkout-branch example by [@dlambda](https://togithub.com/dlambda) in [https://github.com/go-git/go-git/pull/446](https://togithub.com/go-git/go-git/pull/446) - \_example: example for git clone using ssh-agent by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/998](https://togithub.com/go-git/go-git/pull/998) #### New Contributors - [@candid82](https://togithub.com/candid82) made their first contribution in [https://github.com/go-git/go-git/pull/825](https://togithub.com/go-git/go-git/pull/825) - [@codablock](https://togithub.com/codablock) made their first contribution in [https://github.com/go-git/go-git/pull/992](https://togithub.com/go-git/go-git/pull/992) - [@Jerry-yz](https://togithub.com/Jerry-yz) made their first contribution in [https://github.com/go-git/go-git/pull/987](https://togithub.com/go-git/go-git/pull/987) - [@wlynch](https://togithub.com/wlynch) made their first contribution in [https://github.com/go-git/go-git/pull/996](https://togithub.com/go-git/go-git/pull/996) - [@moranCohen26](https://togithub.com/moranCohen26) made their first contribution in [https://github.com/go-git/go-git/pull/994](https://togithub.com/go-git/go-git/pull/994) - [@grinish21](https://togithub.com/grinish21) made their first contribution in [https://github.com/go-git/go-git/pull/1022](https://togithub.com/go-git/go-git/pull/1022) - [@prskr](https://togithub.com/prskr) made their first contribution in [https://github.com/go-git/go-git/pull/1018](https://togithub.com/go-git/go-git/pull/1018) - [@dlambda](https://togithub.com/dlambda) made their first contribution in [https://github.com/go-git/go-git/pull/446](https://togithub.com/go-git/go-git/pull/446) - [@juliens](https://togithub.com/juliens) made their first contribution in [https://github.com/go-git/go-git/pull/366](https://togithub.com/go-git/go-git/pull/366) - [@onee-only](https://togithub.com/onee-only) made their first contribution in [https://github.com/go-git/go-git/pull/1036](https://togithub.com/go-git/go-git/pull/1036) - [@tim775](https://togithub.com/tim775) made their first contribution in [https://github.com/go-git/go-git/pull/1042](https://togithub.com/go-git/go-git/pull/1042) - [@niukuo](https://togithub.com/niukuo) made their first contribution in [https://github.com/go-git/go-git/pull/967](https://togithub.com/go-git/go-git/pull/967) - [@avoidalone](https://togithub.com/avoidalone) made their first contribution in [https://github.com/go-git/go-git/pull/1047](https://togithub.com/go-git/go-git/pull/1047) **Full Changelog**: https://github.com/go-git/go-git/compare/v5.11.0...v5.12.0 ### [`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 ([#929](https://togithub.com/go-git/go-git/issues/929)) by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/950](https://togithub.com/go-git/go-git/pull/950) - git: stop iterating at oldest shallow when pulling. Fixes [#305](https://togithub.com/go-git/go-git/issues/305) by [@dhoizner](https://togithub.com/dhoizner) in [https://github.com/go-git/go-git/pull/939](https://togithub.com/go-git/go-git/pull/939) - plumbing: object, enable renames in getFileStatsFromFilePatches by [@djmoch](https://togithub.com/djmoch) in [https://github.com/go-git/go-git/pull/941](https://togithub.com/go-git/go-git/pull/941) - storage: filesystem, Add option to set a specific FS for alternates by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/953](https://togithub.com/go-git/go-git/pull/953) - Align worktree validation with upstream and remove build warnings by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/958](https://togithub.com/go-git/go-git/pull/958) #### New Contributors - [@dhoizner](https://togithub.com/dhoizner) made their first contribution in [https://github.com/go-git/go-git/pull/939](https://togithub.com/go-git/go-git/pull/939) - [@djmoch](https://togithub.com/djmoch) made their first contribution in [https://github.com/go-git/go-git/pull/941](https://togithub.com/go-git/go-git/pull/941) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@steiler](https://togithub.com/steiler) in [https://github.com/go-git/go-git/pull/930](https://togithub.com/go-git/go-git/pull/930) - git: add tracer package by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/916](https://togithub.com/go-git/go-git/pull/916) - remote: Flip clause for fast-forward only check by [@adityasaky](https://togithub.com/adityasaky) in [https://github.com/go-git/go-git/pull/875](https://togithub.com/go-git/go-git/pull/875) - plumbing: transport/ssh, Fix nil pointer dereference caused when an unreachable proxy server is set. Fixes [#900](https://togithub.com/go-git/go-git/issues/900) by [@anandf](https://togithub.com/anandf) in [https://github.com/go-git/go-git/pull/901](https://togithub.com/go-git/go-git/pull/901) - plumbing: uppload-server-info, implement upload-server-info by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/896](https://togithub.com/go-git/go-git/pull/896) - plumbing: optimise memory consumption for filesystem storage by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/799](https://togithub.com/go-git/go-git/pull/799) - plumbing: format/packfile, Refactor patch delta by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/908](https://togithub.com/go-git/go-git/pull/908) - plumbing: fix empty uploadpack request error by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/932](https://togithub.com/go-git/go-git/pull/932) - plumbing: transport/git, Improve tests error message by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/752](https://togithub.com/go-git/go-git/pull/752) - plumbing: format/pktline, Respect pktline error-line errors by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/936](https://togithub.com/go-git/go-git/pull/936) - utils: remove ioutil.Pipe and use std library io.Pipe by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/922](https://togithub.com/go-git/go-git/pull/922) - utils: move trace to utils by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/931](https://togithub.com/go-git/go-git/pull/931) - cli: separate go module for cli by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/914](https://togithub.com/go-git/go-git/pull/914) - build: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/887](https://togithub.com/go-git/go-git/pull/887) - build: bump actions/setup-go from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/891](https://togithub.com/go-git/go-git/pull/891) - build: bump github.com/skeema/knownhosts from 1.2.0 to 1.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/888](https://togithub.com/go-git/go-git/pull/888) - build: bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/890](https://togithub.com/go-git/go-git/pull/890) - build: bump golang.org/x/sys from 0.13.0 to 0.14.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/907](https://togithub.com/go-git/go-git/pull/907) - build: bump golang.org/x/text from 0.13.0 to 0.14.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/906](https://togithub.com/go-git/go-git/pull/906) - build: bump golang.org/x/crypto from 0.14.0 to 0.15.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/917](https://togithub.com/go-git/go-git/pull/917) - build: bump golang.org/x/net from 0.17.0 to 0.18.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/918](https://togithub.com/go-git/go-git/pull/918) #### New Contributors - [@anandf](https://togithub.com/anandf) made their first contribution in [https://github.com/go-git/go-git/pull/901](https://togithub.com/go-git/go-git/pull/901) - [@steiler](https://togithub.com/steiler) made their first contribution in [https://github.com/go-git/go-git/pull/930](https://togithub.com/go-git/go-git/pull/930) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/782](https://togithub.com/go-git/go-git/pull/782) - Worktree, apply ProxyOption on Pull by [@nodivbyzero](https://togithub.com/nodivbyzero) in [https://github.com/go-git/go-git/pull/840](https://togithub.com/go-git/go-git/pull/840) - Repository: add clone --shared feature by [@enverbisevac](https://togithub.com/enverbisevac) in [https://github.com/go-git/go-git/pull/860](https://togithub.com/go-git/go-git/pull/860) - build: Add github workflow to check commit message format by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/867](https://togithub.com/go-git/go-git/pull/867) - Improve handling of remote errors by [@makkes](https://togithub.com/makkes) in [https://github.com/go-git/go-git/pull/866](https://togithub.com/go-git/go-git/pull/866) - build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/873](https://togithub.com/go-git/go-git/pull/873) - plumbing: commitgraph, Add generation v2 support by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/869](https://togithub.com/go-git/go-git/pull/869) - plumbing: protocol/packp, Add validation for decodeLine by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/868](https://togithub.com/go-git/go-git/pull/868) - plumbing: parse the encoding header of the commit object by [@liwenqiu](https://togithub.com/liwenqiu) in [https://github.com/go-git/go-git/pull/761](https://togithub.com/go-git/go-git/pull/761) - plumbing: commitgraph, allow SHA256 commit-graphs by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/853](https://togithub.com/go-git/go-git/pull/853) - plumbing: commitgraph, Allow reading commit-graph chains by [@zeripath](https://togithub.com/zeripath) in [https://github.com/go-git/go-git/pull/854](https://togithub.com/go-git/go-git/pull/854) - plumbing/object: Support mergetag in merge commits by [@adityasaky](https://togithub.com/adityasaky) in [https://github.com/go-git/go-git/pull/847](https://togithub.com/go-git/go-git/pull/847) #### New Contributors - [@nodivbyzero](https://togithub.com/nodivbyzero) made their first contribution in [https://github.com/go-git/go-git/pull/840](https://togithub.com/go-git/go-git/pull/840) - [@adityasaky](https://togithub.com/adityasaky) made their first contribution in [https://github.com/go-git/go-git/pull/847](https://togithub.com/go-git/go-git/pull/847) - [@hezhizhen](https://togithub.com/hezhizhen) made their first contribution in [https://github.com/go-git/go-git/pull/836](https://togithub.com/go-git/go-git/pull/836) - [@0x34d](https://togithub.com/0x34d) made their first contribution in [https://github.com/go-git/go-git/pull/855](https://togithub.com/go-git/go-git/pull/855) - [@liwenqiu](https://togithub.com/liwenqiu) made their first contribution in [https://github.com/go-git/go-git/pull/761](https://togithub.com/go-git/go-git/pull/761) - [@enverbisevac](https://togithub.com/enverbisevac) made their first contribution in [https://github.com/go-git/go-git/pull/860](https://togithub.com/go-git/go-git/pull/860) - [@makkes](https://togithub.com/makkes) made their first contribution in [https://github.com/go-git/go-git/pull/866](https://togithub.com/go-git/go-git/pull/866) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@john-cai](https://togithub.com/john-cai) in [https://github.com/go-git/go-git/pull/438](https://togithub.com/go-git/go-git/pull/438) - git: worktree, reset ignored files that are part of the worktree: Fixes [#819](https://togithub.com/go-git/go-git/issues/819) by [@daolis](https://togithub.com/daolis) in [https://github.com/go-git/go-git/pull/821](https://togithub.com/go-git/go-git/pull/821) - plumbing: Do not swallow http message coming from VCS providers by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/835](https://togithub.com/go-git/go-git/pull/835) - plumbing: transport, handle IPv6 while parsing endpoint. Fixes [#740](https://togithub.com/go-git/go-git/issues/740) by [@ninedraft](https://togithub.com/ninedraft) in [https://github.com/go-git/go-git/pull/820](https://togithub.com/go-git/go-git/pull/820) - \*: update goproxy dependency to fix CVE-2023-37788 vulnerability by [@svghadi](https://togithub.com/svghadi) in [https://github.com/go-git/go-git/pull/832](https://togithub.com/go-git/go-git/pull/832) - \*: bump dependencies and Go to 1.19 by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/837](https://togithub.com/go-git/go-git/pull/837) #### New Contributors - [@svghadi](https://togithub.com/svghadi) made their first contribution in [https://github.com/go-git/go-git/pull/832](https://togithub.com/go-git/go-git/pull/832) - [@daolis](https://togithub.com/daolis) made their first contribution in [https://github.com/go-git/go-git/pull/821](https://togithub.com/go-git/go-git/pull/821) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/815](https://togithub.com/go-git/go-git/pull/815) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [#305](https://togithub.com/go-git/go-git/issues/305) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/778](https://togithub.com/go-git/go-git/pull/778) - git: enable fetch with unqualified references by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/762](https://togithub.com/go-git/go-git/pull/762) - git: don't add to want if exists, shallow and depth 1 by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/763](https://togithub.com/go-git/go-git/pull/763) - git: Clone HEAD should not force master. Fixes [#363](https://togithub.com/go-git/go-git/issues/363) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/758](https://togithub.com/go-git/go-git/pull/758) - git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/756](https://togithub.com/go-git/go-git/pull/756) - git: add a clone option to allow for shallow cloning of submodules by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/765](https://togithub.com/go-git/go-git/pull/765) - worktree: minor speedup for `doAddDirectory` by [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/702](https://togithub.com/go-git/go-git/pull/702) - \_examples: Remove wrong comment by [@pascal-hofmann](https://togithub.com/pascal-hofmann) in [https://github.com/go-git/go-git/pull/357](https://togithub.com/go-git/go-git/pull/357) - \*: Handle paths starting with tilde by [@ricci2511](https://togithub.com/ricci2511) in [https://github.com/go-git/go-git/pull/808](https://togithub.com/go-git/go-git/pull/808) - \*: Handle paths starting with ~Username by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/809](https://togithub.com/go-git/go-git/pull/809) - storage: filesystem/dotgit, add support for tmp_objdir prefix by [@L11R](https://togithub.com/L11R) in [https://github.com/go-git/go-git/pull/812](https://togithub.com/go-git/go-git/pull/812) - plumbing: gitignore, replace user dir in path by [@Jleagle](https://togithub.com/Jleagle) in [https://github.com/go-git/go-git/pull/772](https://togithub.com/go-git/go-git/pull/772) - plumbing: gitignore, fix incorrect parsing. Fixes [#500](https://togithub.com/go-git/go-git/issues/500) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/781](https://togithub.com/go-git/go-git/pull/781) - plumbing: http, Fix empty repos on Git v2.41+ by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/802](https://togithub.com/go-git/go-git/pull/802) - plumbing: packp, A request is not empty if it contains shallows. Fixes [#328](https://togithub.com/go-git/go-git/issues/328) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/792](https://togithub.com/go-git/go-git/pull/792) - plumbing: blame, Complete rewrite. Fixes [#603](https://togithub.com/go-git/go-git/issues/603) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/789](https://togithub.com/go-git/go-git/pull/789) - plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes [#578](https://togithub.com/go-git/go-git/issues/578) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/785](https://togithub.com/go-git/go-git/pull/785) #### New Contributors - [@Jleagle](https://togithub.com/Jleagle) made their first contribution in [https://github.com/go-git/go-git/pull/772](https://togithub.com/go-git/go-git/pull/772) - [@pascal-hofmann](https://togithub.com/pascal-hofmann) made their first contribution in [https://github.com/go-git/go-git/pull/357](https://togithub.com/go-git/go-git/pull/357) - [@ricci2511](https://togithub.com/ricci2511) made their first contribution in [https://github.com/go-git/go-git/pull/808](https://togithub.com/go-git/go-git/pull/808) - [@L11R](https://togithub.com/L11R) made their first contribution in [https://github.com/go-git/go-git/pull/812](https://togithub.com/go-git/go-git/pull/812) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/707](https://togithub.com/go-git/go-git/pull/707) - git: add mirror clone option by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/735](https://togithub.com/go-git/go-git/pull/735) - git: Add support to ls-remote with peeled references. Fixes [#749](https://togithub.com/go-git/go-git/issues/749) by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/750](https://togithub.com/go-git/go-git/pull/750) - git: fix cloning with branch name by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/755](https://togithub.com/go-git/go-git/pull/755) - git: Worktree, add check to see if file already checked in. Fixes [#718](https://togithub.com/go-git/go-git/issues/718) by [@cbbm142](https://togithub.com/cbbm142) in [https://github.com/go-git/go-git/pull/719](https://togithub.com/go-git/go-git/pull/719) - git: Worktree, git grep bare repositories by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/728](https://togithub.com/go-git/go-git/pull/728) - git: Add Depth to SubmoduleUpdateOptions by [@matejrisek](https://togithub.com/matejrisek) in [https://github.com/go-git/go-git/pull/754](https://togithub.com/go-git/go-git/pull/754) - git: Testing, Fix tests not cleaning temp folders by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/769](https://togithub.com/go-git/go-git/pull/769) - git: remote, add support for a configurable timeout. by [@andrewpollock](https://togithub.com/andrewpollock) in [https://github.com/go-git/go-git/pull/753](https://togithub.com/go-git/go-git/pull/753) - git: Allow Initial Branch to be configurable by [@techknowlogick](https://togithub.com/techknowlogick) in [https://github.com/go-git/go-git/pull/764](https://togithub.com/go-git/go-git/pull/764) - storage: filesystem/dotgit, Improve load packed-refs by [@fcharlie](https://togithub.com/fcharlie) in [https://github.com/go-git/go-git/pull/743](https://togithub.com/go-git/go-git/pull/743) - storage: filesystem, Populate index before use. Fixes [#148](https://togithub.com/go-git/go-git/issues/148) by [@AriehSchneier](https://togithub.com/AriehSchneier) in [https://github.com/go-git/go-git/pull/722](https://togithub.com/go-git/go-git/pull/722) - plumbing: resolve non-external delta references by [@ZauberNerd](https://togithub.com/ZauberNerd) in [https://github.com/go-git/go-git/pull/485](https://togithub.com/go-git/go-git/pull/485) - plumbing/transport: fix regression in scp-like match by [@jotadrilo](https://togithub.com/jotadrilo) in [https://github.com/go-git/go-git/pull/715](https://togithub.com/go-git/go-git/pull/715) - plumbing/transport: Add support for custom proxy settings by [@aryan9600](https://togithub.com/aryan9600) in [https://github.com/go-git/go-git/pull/744](https://togithub.com/go-git/go-git/pull/744) - \*: small fixes across the codebase by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/770](https://togithub.com/go-git/go-git/pull/770) - \*: bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/776](https://togithub.com/go-git/go-git/pull/776) - \*: bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/748](https://togithub.com/go-git/go-git/pull/748) - \*: bump Go version to 1.18 on go.mod by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/774](https://togithub.com/go-git/go-git/pull/774) - \*: add Codeql workflow and bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/775](https://togithub.com/go-git/go-git/pull/775) - ci: fix upstream git build for master branch by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/739](https://togithub.com/go-git/go-git/pull/739) #### New Contributors - [@ZauberNerd](https://togithub.com/ZauberNerd) made their first contribution in [https://github.com/go-git/go-git/pull/485](https://togithub.com/go-git/go-git/pull/485) - [@jotadrilo](https://togithub.com/jotadrilo) made their first contribution in [https://github.com/go-git/go-git/pull/715](https://togithub.com/go-git/go-git/pull/715) - [@fcharlie](https://togithub.com/fcharlie) made their first contribution in [https://github.com/go-git/go-git/pull/743](https://togithub.com/go-git/go-git/pull/743) - [@AriehSchneier](https://togithub.com/AriehSchneier) made their first contribution in [https://github.com/go-git/go-git/pull/755](https://togithub.com/go-git/go-git/pull/755) - [@cbbm142](https://togithub.com/cbbm142) made their first contribution in [https://github.com/go-git/go-git/pull/719](https://togithub.com/go-git/go-git/pull/719) - [@aryan9600](https://togithub.com/aryan9600) made their first contribution in [https://github.com/go-git/go-git/pull/744](https://togithub.com/go-git/go-git/pull/744) - [@matejrisek](https://togithub.com/matejrisek) made their first contribution in [https://github.com/go-git/go-git/pull/754](https://togithub.com/go-git/go-git/pull/754) - [@andrewpollock](https://togithub.com/andrewpollock) made their first contribution in [https://github.com/go-git/go-git/pull/753](https://togithub.com/go-git/go-git/pull/753) - [@techknowlogick](https://togithub.com/techknowlogick) made their first contribution in [https://github.com/go-git/go-git/pull/764](https://togithub.com/go-git/go-git/pull/764) **Full Changelog**: https://github.com/go-git/go-git/compare/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 [@ThinkChaos](https://togithub.com/ThinkChaos) in [https://github.com/go-git/go-git/pull/682](https://togithub.com/go-git/go-git/pull/682) - plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by [@aymanbagabas](https://togithub.com/aymanbagabas) in [https://github.com/go-git/go-git/pull/655](https://togithub.com/go-git/go-git/pull/655) - storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by [@MichaelMure](https://togithub.com/MichaelMure) in [https://github.com/go-git/go-git/pull/659](https://togithub.com/go-git/go-git/pull/659) - \*: bump golang.org/x/net from 0.2.0 to 0.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/go-git/go-git/pull/684](https://togithub.com/go-git/go-git/pull/684) - \*: bump dependencies by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/697](https://togithub.com/go-git/go-git/pull/697) - \*: fix panic for empty revisions by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/696](https://togithub.com/go-git/go-git/pull/696) - ci: bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution by [@pjbgf](https://togithub.com/pjbgf) in [https://github.com/go-git/go-git/pull/701](https://togithub.com/go-git/go-git/pull/701) **Full Changelog**: https://github.com/go-git/go-git/compare/v5.6.0...v5.6.1Configuration
š 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.
This PR was generated by Mend Renovate. View the repository job log.