Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/go-cmp Loading
base: v0.5.8
Choose a base ref
...
head repository: google/go-cmp Loading
compare: v0.5.9
Choose a head ref
  • 7 commits
  • 18 files changed
  • 3 contributors

Commits on Jun 6, 2022

  1. Use reflect.Value.IsZero (#297)

    Now that Go 1.13 is the minimum version, we can use the reflect.Value.IsZero
    method instead of our own internal/value.IsZero function.
    Interestingly, our IsZero function pre-dates the IsZero method,
    but fortunately has the exact same semantics, since both are targetting
    semantics defined by the Go language specification.
    dsnet committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    a53d7e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Format with Go 1.19 formatter (#304)

    This allows the GoDoc to take advantage of new markup syntax
    introduced in Go 1.19. This does not require that our minimum
    supported version be bumped to Go 1.19 since the pkgsite renders
    our godoc regardless of supported Go version.
    dsnet committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    14ad8a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    5dac6aa View commit details
    Browse the repository at this point in the history
  2. Pre-declare global type variables (#302)

    Co-authored-by: Damien Neil <[email protected]>
    dsnet and neild committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    f36a68d View commit details
    Browse the repository at this point in the history
  3. Use value.TypeString in PathStep.String (#306)

    The value.TypeString function is what the rest of the package uses
    and is slightly cleaner than using reflect.Type.String.
    
    Updates #305
    
    Co-authored-by: Damien Neil <[email protected]>
    dsnet and neild committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    6606d4d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Run tests on Go 1.19 (#309)

    * Run tests on Go 1.19
    
    * Format comment
    
    Finish the rest of the work for #304
    
    Co-authored-by: Damien Neil <[email protected]>
    Aoang and neild committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    377d283 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Adjust heuristic for line-based versus byte-based diffing (#299)

    If the string has many characters that require escape sequences to print,
    then we need to take that into consideration and avoid byte-by-byte diffing.
    
    Co-authored-by: Damien Neil <[email protected]>
    dsnet and neild committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    a97318b View commit details
    Browse the repository at this point in the history
Loading