github bluekeyes/go-gitdiff v0.4.0

latest releases: v0.8.1, v0.8.0, v0.7.4...
5 years ago

API Breaks

  • Rename PatchHeader.Message to PatchHeader.Body for clarity.
  • Remove the PatchDate type and use a plain time.Time instead. Parsing headers now returns an error when a date field uses an unsupported format.

Improvements

  • Return a conflict error if the source still has content left after applying a patch that deletes the file.

Fixes

  • Correctly parse single-digit unpadded days in ParsePatchDate.

Don't miss a new go-gitdiff release

NewReleases is sending notifications on new releases.