Skip to content

Conversation

@To1ne
Copy link
Contributor

@To1ne To1ne commented Oct 12, 2022

When a path is deeper than the single asterisk pattern the code would
crash with a "index out of range".

This change checks the length of the remaining pattern before it
references an element of that slice.

With a single trailing asterisk paths deeper than the pattern should not
get the attributes.

For example with the following .gitattributes file:

thirdparty/* linguist-vendored

This is how git handles it:

$ git check-attr --all thirdparty/README.md

thirdparty/README.md: diff: markdown
thirdparty/README.md: linguist-vendored: set

$ git check-attr --all thirdparty/package/README.md

thirdparty/package/README.md: diff: markdown

@To1ne To1ne force-pushed the toon-fix-gitattr-crash branch 2 times, most recently from 9fe10f2 to 611ed6a Compare October 12, 2022 15:33
When a path is deeper than the single asterisk pattern the code would
crash with a "index out of range".

This change checks the length of the remaining pattern before it
references an element of that slice.

With a single trailing asterisk paths deeper than the pattern should not
get the attributes.

For example with the following `.gitattributes` file:

    thirdparty/* linguist-vendored

This is how git handles it:

    $ git check-attr --all thirdparty/README.md

    thirdparty/README.md: diff: markdown
    thirdparty/README.md: linguist-vendored: set

    $ git check-attr --all thirdparty/package/README.md

    thirdparty/package/README.md: diff: markdown
@To1ne To1ne force-pushed the toon-fix-gitattr-crash branch from 611ed6a to 7dd5d8f Compare October 12, 2022 15:34
@To1ne
Copy link
Contributor Author

To1ne commented Oct 12, 2022

@mcuadros Would you consider this small bug fix?

@To1ne To1ne changed the title plumbing: Avoid index out of range in gitattributes plumbing: gitattributes, Avoid index out of range Oct 13, 2022
@mcuadros mcuadros merged commit 1a0530e into go-git:master Nov 7, 2022
@erizocosmico
Copy link
Contributor

Good catch, thank you for the contribution!

andrewpollock referenced this pull request in google/osv.dev Dec 5, 2022
[![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.8.0` -> `v1.10.0` |
|
[cloud.google.com/go/pubsub](https://togithub.com/googleapis/google-cloud-go)
| require | minor | `v1.24.0` -> `v1.27.1` |
|
[cloud.google.com/go/storage](https://togithub.com/googleapis/google-cloud-go)
| require | minor | `v1.24.0` -> `v1.28.1` |
| [github.com/go-git/go-git/v5](https://togithub.com/go-git/go-git) |
require | minor | `v5.4.2` -> `v5.5.0` |
| [github.com/google/go-cmp](https://togithub.com/google/go-cmp) |
require | patch | `v0.5.8` -> `v0.5.9` |
| [golang.org/x/sync](https://togithub.com/golang/sync) | require |
minor | `v0.0.0-20220601150217-0de741cfad7f` -> `v0.1.0` |
|
[google.golang.org/api](https://togithub.com/googleapis/google-api-go-client)
| require | minor | `v0.91.0` -> `v0.103.0` |

---

### Release Notes

<details>
<summary>go-git/go-git</summary>

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

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

#### What's Changed

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

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

</details>

<details>
<summary>google/go-cmp</summary>

### [`v0.5.9`](https://togithub.com/google/go-cmp/releases/tag/v0.5.9)

[Compare
Source](https://togithub.com/google/go-cmp/compare/v0.5.8...v0.5.9)

Reporter changes:

- ([#&#8203;299](https://togithub.com/google/go-cmp/issues/299)) Adjust
heuristic for line-based versus byte-based diffing
- ([#&#8203;306](https://togithub.com/google/go-cmp/issues/306)) Use
`value.TypeString` in `PathStep.String`

Code cleanup changes:

- ([#&#8203;297](https://togithub.com/google/go-cmp/issues/297)) Use
`reflect.Value.IsZero`
- ([#&#8203;304](https://togithub.com/google/go-cmp/issues/304)) Format
with Go 1.19 formatter
- ([#&#8203;300](https://togithub.com/google/go-cmp/issues/300) )Fix
typo in Result documentation
- ([#&#8203;302](https://togithub.com/google/go-cmp/issues/302))
Pre-declare global type variables
- ([#&#8203;309](https://togithub.com/google/go-cmp/issues/309)) Run
tests on Go 1.19

</details>

<details>
<summary>googleapis/google-api-go-client</summary>

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1737](https://togithub.com/googleapis/google-api-go-client/issues/1737))
([de99200](https://togithub.com/googleapis/google-api-go-client/commit/de9920088db16562740c31183eca6651f669e582))
- **all:** Auto-regenerate discovery clients
([#&#8203;1739](https://togithub.com/googleapis/google-api-go-client/issues/1739))
([bbd4259](https://togithub.com/googleapis/google-api-go-client/commit/bbd42597f4710f527f83fd900cb7f9e6706bc195))
- **all:** Auto-regenerate discovery clients
([#&#8203;1743](https://togithub.com/googleapis/google-api-go-client/issues/1743))
([4248dc3](https://togithub.com/googleapis/google-api-go-client/commit/4248dc3db6b32d00720293980fb8e845b684fbd8))
- **googleapi:** Inject gax apierror.APIError into googleapi.Error
([#&#8203;1730](https://togithub.com/googleapis/google-api-go-client/issues/1730))
([ee25e29](https://togithub.com/googleapis/google-api-go-client/commit/ee25e29fd586cde25a006504d0059194a90f19ac))
- Rm hard dep on x/sys
([#&#8203;1742](https://togithub.com/googleapis/google-api-go-client/issues/1742))
([9695aa1](https://togithub.com/googleapis/google-api-go-client/commit/9695aa13a084c1ad9857db4a6c12d57e13fc00dc))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1725](https://togithub.com/googleapis/google-api-go-client/issues/1725))
([06360d8](https://togithub.com/googleapis/google-api-go-client/commit/06360d8f37b88e064a8a60788077f376b597d942))
- **all:** Auto-regenerate discovery clients
([#&#8203;1727](https://togithub.com/googleapis/google-api-go-client/issues/1727))
([1e1eab9](https://togithub.com/googleapis/google-api-go-client/commit/1e1eab98aac0e967a6c52b65fe9eb5a4d6d8a946))
- **all:** Auto-regenerate discovery clients
([#&#8203;1734](https://togithub.com/googleapis/google-api-go-client/issues/1734))
([ce57a67](https://togithub.com/googleapis/google-api-go-client/commit/ce57a67eddb98f3ccd21c1c01dfcb18df0d77009))
- Rely on new compute metadata module directly
([#&#8203;1736](https://togithub.com/googleapis/google-api-go-client/issues/1736))
([0528475](https://togithub.com/googleapis/google-api-go-client/commit/0528475d51393bb6e3244816d9c6ea8c16275677))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1718](https://togithub.com/googleapis/google-api-go-client/issues/1718))
([453b81a](https://togithub.com/googleapis/google-api-go-client/commit/453b81ac138e6572e9d6a3373c033c5abbcefbcc))
- **all:** Auto-regenerate discovery clients
([#&#8203;1720](https://togithub.com/googleapis/google-api-go-client/issues/1720))
([9140608](https://togithub.com/googleapis/google-api-go-client/commit/91406081538e06ab580f59d6fba001dc34f8574a))
- **all:** Auto-regenerate discovery clients
([#&#8203;1723](https://togithub.com/googleapis/google-api-go-client/issues/1723))
([f4788b3](https://togithub.com/googleapis/google-api-go-client/commit/f4788b325bd76337216a54e02e49cec4e3ee6987))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1712](https://togithub.com/googleapis/google-api-go-client/issues/1712))
([f9e15f2](https://togithub.com/googleapis/google-api-go-client/commit/f9e15f2159928974af1a2ec539e20f17f94aab4d))
- **all:** Auto-regenerate discovery clients
([#&#8203;1717](https://togithub.com/googleapis/google-api-go-client/issues/1717))
([f990a2a](https://togithub.com/googleapis/google-api-go-client/commit/f990a2af6cd6210c8764bbe273a575886ea97038))
- **internal/gensupport:** Remove DetermineContentType, use gax-go copy
([#&#8203;1716](https://togithub.com/googleapis/google-api-go-client/issues/1716))
([37f90e9](https://togithub.com/googleapis/google-api-go-client/commit/37f90e974e83f06962ac923c502cd1b405c7f0fb))

##### Bug Fixes

- **idtoken:** Allow missing age in http response header
([#&#8203;1715](https://togithub.com/googleapis/google-api-go-client/issues/1715))
([b235b1f](https://togithub.com/googleapis/google-api-go-client/commit/b235b1f8c718be6b8f361074d371768617a3da3a))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1701](https://togithub.com/googleapis/google-api-go-client/issues/1701))
([6b81c83](https://togithub.com/googleapis/google-api-go-client/commit/6b81c8355addd65f718bb9195e1c2356117e1a1b))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1696](https://togithub.com/googleapis/google-api-go-client/issues/1696))
([aa775b4](https://togithub.com/googleapis/google-api-go-client/commit/aa775b41d2e419002d4e7e7a390745dd2d07110a))
- **all:** Auto-regenerate discovery clients
([#&#8203;1699](https://togithub.com/googleapis/google-api-go-client/issues/1699))
([25b7450](https://togithub.com/googleapis/google-api-go-client/commit/25b7450d0d9efc46d4095d827f597ac85bb8b5b4))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1693](https://togithub.com/googleapis/google-api-go-client/issues/1693))
([a87400b](https://togithub.com/googleapis/google-api-go-client/commit/a87400be9341608f73e9ae1b5dbbecc7adfbf609))
- **all:** Auto-regenerate discovery clients
([#&#8203;1695](https://togithub.com/googleapis/google-api-go-client/issues/1695))
([b8f2556](https://togithub.com/googleapis/google-api-go-client/commit/b8f25561a76841c7549a358925eb7bfc2236465e))
- **internal/gensupport:** Wrap retry failures with context and prev
error
([#&#8203;1684](https://togithub.com/googleapis/google-api-go-client/issues/1684))
([f427ee3](https://togithub.com/googleapis/google-api-go-client/commit/f427ee3edede981524c2ffb57fd2d8981f8cf8b4)),
refs
[#&#8203;1685](https://togithub.com/googleapis/google-api-go-client/issues/1685)

##### Bug Fixes

- Build script bash error
([#&#8203;1697](https://togithub.com/googleapis/google-api-go-client/issues/1697))
([6b0515b](https://togithub.com/googleapis/google-api-go-client/commit/6b0515bf05d8c62007748827eed486c607af483b))
- **gensupport:** Allow initial request for resumable uploads to retry
w/ non-nil getBody
([#&#8203;1690](https://togithub.com/googleapis/google-api-go-client/issues/1690))
([2c3e863](https://togithub.com/googleapis/google-api-go-client/commit/2c3e8638afc6702dcba732a1aa07ccb33eb9304b))

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1686](https://togithub.com/googleapis/google-api-go-client/issues/1686))
([ce5ed41](https://togithub.com/googleapis/google-api-go-client/commit/ce5ed411756019b79c77e580670fccc8c08cccca))
- **all:** Auto-regenerate discovery clients
([#&#8203;1688](https://togithub.com/googleapis/google-api-go-client/issues/1688))
([bc29a6b](https://togithub.com/googleapis/google-api-go-client/commit/bc29a6b8a0489e88796d5a00d4c06769793ace0d))
- **all:** Auto-regenerate discovery clients
([#&#8203;1689](https://togithub.com/googleapis/google-api-go-client/issues/1689))
([e801e10](https://togithub.com/googleapis/google-api-go-client/commit/e801e1051020e6721f2217f5aa3a4064399115e1))

##### Bug Fixes

- Upgrade version of golang.org/x/net
([#&#8203;1692](https://togithub.com/googleapis/google-api-go-client/issues/1692))
([0f7c1ed](https://togithub.com/googleapis/google-api-go-client/commit/0f7c1ed65ca2c6212f21e7fce20aa5ab9952bdbc)),
refs
[#&#8203;1691](https://togithub.com/googleapis/google-api-go-client/issues/1691)

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

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

##### Features

- **all:** Auto-regenerate discovery clients
([#&#8203;1677](https://togithub.com/googleapis/google-api-go-client/issues/1677))
([8757dbf](https://togithub.com/googleapis/google-api-go-client/commit/8757dbf5811cc9f4092a8259d859c35ad3cc6442))
- **all:** Auto-regenerate discovery clients
([#&#8203;1680](https://togithub.com/googleapis/google-api-go-client/issues/1680))
([8c72fb3](https://togithub.com/googleapis/google-api-go-client/commit/8c72fb345fb6e377fa984053ca9c00aa0c3a0985))
- **option:** Officially deprecate ImpersonateCredentials
([#&#8203;1683](https://togithub.com/googleapis/google-api-go-client/issues/1683))
([9a84077](https://togithub.com/googleapis/google-api-go-client/commit/9a84077014f9a37335d29132e373b92adf49f904))

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

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

##### Features

- **all:** auto-regenerate discovery clients, refs
[#&#8203;1676](https://togithub.com/googleapis/google-api-go-client/issues/1676)
[#&#8203;1673](https://togithub.com/googleapis/google-api-go-client/issues/1673)
[#&#8203;1672](https://togithub.com/googleapis/google-api-go-client/issues/1672)
[#&#8203;1671](https://togithub.com/googleapis/google-api-go-client/issues/1671)
[#&#8203;1667](https://togithub.com/googleapis/google-api-go-client/issues/1667)

##### Bug Fixes

- **storage:** \*int64 instead of int64 for Age cond
([#&#8203;1598](https://togithub.com/googleapis/google-api-go-client/issues/1598))
([9ea025d](https://togithub.com/googleapis/google-api-go-client/commit/9ea025dcfe9b67a95e08f4ec94ed4fb6a9767b8c))

##### Documentation

- **option:** clarify behavior of WithScopes
([#&#8203;1670](https://togithub.com/googleapis/google-api-go-client/issues/1670))
([07ceb9d](https://togithub.com/googleapis/google-api-go-client/commit/07ceb9d607c85ffaa5bea97be66cf9d426ec55bb)),
refs
[#&#8203;1644](https://togithub.com/googleapis/google-api-go-client/issues/1644)

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

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

##### Features

- **all:** auto-regenerate discovery clients, refs
[#&#8203;1664](https://togithub.com/googleapis/google-api-go-client/issues/1664)
[#&#8203;1662](https://togithub.com/googleapis/google-api-go-client/issues/1662)
[#&#8203;1661](https://togithub.com/googleapis/google-api-go-client/issues/1661)
[#&#8203;1652](https://togithub.com/googleapis/google-api-go-client/issues/1652)
- **google-api-go-generator:** Change field PaymentState to pointer
([#&#8203;1663](https://togithub.com/googleapis/google-api-go-client/issues/1663))
([d6ee425](https://togithub.com/googleapis/google-api-go-client/commit/d6ee425a65668ee28ff97c6fb70f3497865d6572)),
refs
[#&#8203;727](https://togithub.com/googleapis/google-api-go-client/issues/727)

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

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

##### Features

- **all:** auto-regenerate discovery clients, refs
[#&#8203;1649](https://togithub.com/googleapis/google-api-go-client/issues/1649)
[#&#8203;1646](https://togithub.com/googleapis/google-api-go-client/issues/1646)
[#&#8203;1645](https://togithub.com/googleapis/google-api-go-client/issues/1645)
[#&#8203;1643](https://togithub.com/googleapis/google-api-go-client/issues/1643)
[#&#8203;1641](https://togithub.com/googleapis/google-api-go-client/issues/1641)

</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://app.renovatebot.com/dashboard#github/google/osv.dev).

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

3 participants