github go-git/go-git v5.1.0

latest releases: v5.12.0, v5.11.0, v5.10.1...
3 years ago

This version includes three main relevant features, the long-awaited support for renames on diff by hash and similar content (#38, #42), color diff support (#40), and support for work with git config from different scopes and Worktree.Commit with an empty CommitOptions (#75)

Change Log

  • Repository.ConfigScoped and Worktree.Commit with empty CommitOptions (#75)
  • Remote.Push: support force option (#71)
  • Remote.Fetch: support exact SHA1 refspecs (#58)
  • plumbing: diff, reset color at end of line (#66)
  • plumbing: object, Commit.Patch support to as nil (#62)
  • plumbing: object, Fixed the ambiguous implicit conversions causing errors while building . (#57)
  • plumbing: object, make renames diff default (#42)
  • plumbing: exact renames detection could leave gaps in the changes (#54)
  • plumbing: diff, add colored output support. (#40)
  • plumbing: detect renames by hash and similar content in diff tree (#38)
  • plumbing: transport, fix handling of empty adv-refs on upload-pack (#22)
  • plumbing: transport server check for nil Packfile, fixes ref deletes (#11)
  • plumbing/storage: close Reader & Writer of EncodedObject after use (#73)
  • storage/filesystem: dotgit, sanity check provided reference path (#39)

Don't miss a new go-git release

NewReleases is sending notifications on new releases.