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: FFengIll/go-gitdiff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: bluekeyes/go-gitdiff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 3 commits
  • 7 files changed
  • 1 contributor

Commits on Mar 5, 2025

  1. Add a test for removing the last newline in a file (bluekeyes#59)

    This worked, but completes the test coverage in combination with the
    test that adds a final newline and one that leaves the missing newline
    in place.
    bluekeyes authored Mar 5, 2025
    Configuration menu
    Copy the full SHA
    823d31d View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2025

  1. Clarify that we only support GNU diff

    In issue bluekeyes#57, it was reported that the library could not apply some
    patches generated by BSD `diff` because of the way that variant reports
    changes in files without trailing newlines. Since the library behavior
    matches Git, I don't consider this a bug, but update the README to
    mention that the support for standard unified diffs is only for the GNU
    variant of the `diff` tool.
    bluekeyes committed Mar 29, 2025
    Configuration menu
    Copy the full SHA
    0896f01 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

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