Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Releases: src-d/go-git

v4.7.0

07 Sep 07:05
Compare
Choose a tag to compare

Here is a new release of go-git, containing a mix of performance improvements (#929, #942), new features and issue fixing, take a log to the change log.

Change Log

  • storage/dotgit: add KeepDescriptors option #942 (jfontan)
  • plumbing/storer: add ExclusiveAccess option to Storer #941 (jfontan)
  • plumbing: object, Clamp object timestamps before unix epoch to unix epoch #939 (taruti)
  • config: add commentChar to core config struct #937 (zaquestion)
  • storage/dotgit: search for incoming dir only once #935 (jfontan)
  • storage/dotgit: Remove empty dirs when cleaning with Dir opt. #933 (kuba--)
  • plumbing, storage: add bases to the common cache #929 (jfontan)
  • plumbing/idxfile: object iterators returns entries in offset order #927 (jfontan)
  • plumbing/format: gitignore, fixed an edge case for .gitignore #924 (fkorotkov)

v4.6.0

17 Aug 10:21
7b6c126
Compare
Choose a tag to compare

Finally here is a new release of go-git, coming with big performance improvements thanks to the new packfile representation #899 (erizocosmico) and parser #898 (jfontan), speeding up the execution of read operation from 25% to almost a 300% depending on the repository topology.

Also, this release comes with some new features and bug fixes, take a look at the change log.

Change Log

v4.5.0

10 Jul 09:57
3bd5e82
Compare
Choose a tag to compare

This release includes a variety of different changes, some performance improvements for packafile index decoding, but as well as some functions at storage were made public, plus some other fixes and improvements.

Change Log

  • plumbing: add context to allow cancel on diff/patch computing #874 (smola)
  • utils: diff, skip useless rune->string conversion #873 (smola)
  • Remote.Fetch: error on missing remote reference #870 (mcuadros)
  • packfile: optimise NewIndexFromIdxFile for a very common case #869 (dsymonds)
  • storage/filesystem: avoid norwfs build flag #864 (smola)
  • plumbing/transport: http, Adds token authentication support [Fixes #858] #859 (ebilling)
  • storage: filesystem, make ObjectStorage constructor public #857 (erizocosmico)

v4.4.1

08 Jun 07:40
b235700
Compare
Choose a tag to compare

Here is a new version of go-git including some memory optimizations by dsymonds and a couple of bug fixes, #480 and #793.

Change Log

v4.4.0

16 May 10:34
57570e8
Compare
Choose a tag to compare

New go-git version including a new functionality to support excludes on the Worktree and also a big improvement of performance for repositories with thousands of references.

Change Log

  • git: remote, Do not iterate all references on update. #833 (jfontan)
  • Worktree: Provide ability to add excludes to worktree #825 (maguro)
  • Fix for "Worktree Add function adds ".git" directory" #815 (kuba--)

v4.3.1

17 Apr 13:35
b30763c
Compare
Choose a tag to compare

Maintenance release including purely bug fixes.

Change Log

  • git: remote, Add shallow commits instead of substituting. Fixes #412 #810 (jfontan)
  • storage: dotgit, init fixtures in benchmark. Fixes #770 #808 (jfontan)
  • dotgit: ignore filenames that don't match a hash #807 (strib)
  • Resolve full commit sha #706 (antham)

v4.3.0

11 Apr 08:31
0db54e8
Compare
Choose a tag to compare

A small feature release including the new PlainOpenWithOptions function able to locate the .git folder by @mvdan and a basic feature that was missing, the tracking branches on Clone by @TheHipbot

Change Log

Implemented enhancements:

  • config: adds branches to config for tracking branches against remotes… #803 (TheHipbot)
  • add PlainOpen variant to find .git in parent dirs #784 (mvdan)

v4.2.1

03 Apr 08:06
247cf69
Compare
Choose a tag to compare

Changes

Merged pull requests:

v4.2.0

12 Mar 10:30
1d28459
Compare
Choose a tag to compare

After a very busy week, at Git Merge 2018, here is a new release of go-git, doesn't include anything very relevant besides the new Worktree.[AddGlob|RemoveBlob] methods and the new traversal order for Repository.Log done by @ilius

Changes

Fixed bugs:

  • Basic Auth: Encode special characters in password #723
  • Plain clone throws error even when repo doesn't exist #755

Merged pull requests:

  • repository.Log: add alternatives for commit traversal order #771 (ilius)
  • storage/filesystem: optimize packfile iterator #769 (dennwc)
  • Unused params, unused code, make Go tip's vet happy #766 (mvdan)
  • plubming: transport, Escape the user and pswd for endpoint. Fixes #723 #762 (zkry)
  • plumbing: ssh, return error when creating public keys from invalid PEM #759 (mdelillo)
  • blame: Add blame line data #754 (shanedasilva)
  • new methods Worktree.[AddGlob|RemoveBlob] and recursive Worktree.[Add|Remove] #739 (mcuadros)

v4.1.1

17 Feb 12:20
886dc83
Compare
Choose a tag to compare

Maintenance release including purely bug fixes. The only API change is Clone.NoCheckout option #721 beeing added.

Changes

Fixed bugs:

  • transport: http, fix services redirecting only info/refs #751 (mcuadros)
  • plumbing: diff, fix crash when a small ending equal-chunk #749 (irias)
  • plumbing: format/packfile, fix panic retrieving object hash. #744 (jfontan)
  • storage/filesystem/shallow: fix error checking #740 (ferhatelmas)
  • plumbing: format/packfile, fix crash with cycle deltas #731 (jfontan)

Merged pull requests:

  • plumbing: packfile, Add a buffer to crc writer #724 (jfontan)
  • git: added Clone.NoCheckout option #721 (rykov)