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: pkg/diff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: reorg
Choose a base ref
...
head repository: pkg/diff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 6 files changed
  • 2 contributors

Commits on Jan 1, 2020

  1. Configuration menu
    Copy the full SHA
    3b17ca0 View commit details
    Browse the repository at this point in the history
  2. myers: specify which myers' diff algorithm we're using

    i believe this may explain the significant performance gap
    between this module and git's implementation.
    
    good thing i'm doing all this digging while the api still has some flexibility.
    eek. :)
    
    updates #18, insofar as it means that i want to do some more implementing
    before declaring this part of the api stable.
    josharian committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    0f84953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d40ec79 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2020

  1. update readme re: API

    josharian committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    5b29258 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. get rid of all module deps

    sergi/go-diff is only used in one test, though having it as a module
    dependency is still noteworthy. That will become less of a problem once
    lazy module loading is widespread, but that's still at least one year
    away.
    
    Plus, we only used go-diff for a simple use case: to show a diff for a
    failed diff test. We already print the got/want text, so a diff is
    strictly speaking not necessary. Plus, if printing the entire text is
    reasonable, it's not like the diff would matter in terms of printing
    less text.
    
    While at it, bump the go language version from 1.13 to 1.15, since Go
    1.14.x and older are no longer maintained.
    
    Fixes #23.
    mvdan committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    20ebb0f View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2024

  1. Configuration menu
    Copy the full SHA
    4e6772a View commit details
    Browse the repository at this point in the history
Loading