Skip to content

Releases: go-git/go-git

v4.0.0-rc7

09 Mar 21:22
Compare
Choose a tag to compare
v4.0.0-rc7 Pre-release
Pre-release

Public API

  • remote: add Push (#178)
  • server: add git server implementation (#190)
  • doc: clarify return values of Pull/Fetch. (#205)
  • remote: fix empty-git-upload-pack error in fetch, when the reference points
    to a non-commit object (#209)
  • repository: fix pull when fetch returns up-to-date (#207)
  • blame: make line and its members public so they can be actually used (#213)

Plumbing

  • plumbing: fix signature with > before < parsing (#204)

Formats

  • packfile/decoder: speed up packfile iterator when specific type (#200)
  • packfile/scanner: reset zlib reader instead of new one (#201)

Transport

  • transport: remove SetAuth, fixes #206 (#210)

Test

  • fixtures: new fixture with multiple root commits (#212)
  • fixtures: initialize fixtures into separated methods (#214)
  • test: restore default protocol. (#215)

Internals

  • fix typo in docs for plumbing/difftree/internal/merkletrie/iter.go (#192)

v4.0.0-rc6

09 Mar 21:21
Compare
Choose a tag to compare
v4.0.0-rc6 Pre-release
Pre-release
  • fix plumbing/difftree package name (#191)
  • utils/fs: extract billy (#173)

v4.0.0-rc5

09 Mar 21:21
Compare
Choose a tag to compare
v4.0.0-rc5 Pre-release
Pre-release

Public API:

  • remote: make Fetch atomic. (#185)
  • remote: sideband support (#164)
  • move plumbing from top level package to plumbing (#183)
  • repository: Ref -> Reference; Refs -> References. (#168)
  • file: return error on File.Contents() if reader fails (#150)
  • rev-list command implementation for objects (#135)
  • difftree: merkletrie internal package with iterator (#133)

Config:

  • bare flag (#177)
  • support delete refspecs (IsDelete). (#166)

Storage:

  • filesystem, clean close when the packfile is not used (#140)
  • shallow storage (#180)

Protocols:

  • packp: add report status message. (#162)
  • packp: add reference update request encoder. (#147)
  • packp: add upload pack response message (#161)
  • capabilities: implementation (#144, #151, #153, #170)
  • sideband: muxer and demuxer (#143)

Formats:

  • packfile: packfile write (#131)
  • packfile: delta calculation (#182, #186, #172, #159)
  • pktline: fix readPayloadLen err handling (#148)

Utils:

  • fs: memory fix read offset
  • fs: memory fix ReadDir, error getting filename

Transports:

  • http: Add configurable http client factory (fixes #120) (#121)
  • git: new git protocol (#175)
  • ssh: keeping the original path (#189)
  • local/ssh: add git-send-pack support (#163)
  • local: add local transport (#145)
  • create Client interface (#132)

v4.0.0-rc4

09 Mar 21:20
Compare
Choose a tag to compare
v4.0.0-rc4 Pre-release
Pre-release

Global:

  • storage interface refactor (#112)
  • new plumbing package (#118)

Fixes:

  • utils/fs: add ReadAt to memory file and tests. (#122)
  • format/packfile: Fix nil tx bug (#124)

v4.0.0-rc3

09 Mar 21:20
Compare
Choose a tag to compare
v4.0.0-rc3 Pre-release
Pre-release

Utils:

v4.0.0-rc2

09 Mar 21:20
Compare
Choose a tag to compare
v4.0.0-rc2 Pre-release
Pre-release

Core

Clients

Formats

Utils

v3.2.0

09 Mar 21:21
Compare
Choose a tag to compare
  • add simple difftree implementation (#63)
  • avoid panic if repository is not specified (#79)
  • fix sourcegraph/go-vcsurl (#66)
  • fix decode tree bug: incomplete reads break the decoding process (#64)

v3.1.1: Repository head (#61)

09 Mar 21:19
Compare
Choose a tag to compare
* add Repository.Head() tests

* add head support for remote repos and more tests

* add head support for local repos

* clean code

* remove dead code

v3.1.0: Adds support to open local repositories and to use file-based object …

09 Mar 21:19
Compare
Choose a tag to compare

API changes:

  • changed repository.Commits(): now it also returns an error.
  • changed repository.Tags(): now it also returns an error.
  • new function: repository.NewRepositoryFromFS(fs, path) creates go-git repositories from .git directories on disk, although, the filesystem is an interface that can be implemented to access git repositories stored anywhere in any format.

v3.0.4

09 Mar 21:18
Compare
Choose a tag to compare
  • Fixed annoying underflow errors