Skip to content

Bump to libgit2 v0.27.0#1477

Merged
implausible merged 6 commits into
nodegit:masterfrom
implausible:bump/libgit2-to-v0.27.0
Apr 9, 2018
Merged

Bump to libgit2 v0.27.0#1477
implausible merged 6 commits into
nodegit:masterfrom
implausible:bump/libgit2-to-v0.27.0

Conversation

@implausible

@implausible implausible commented Apr 6, 2018

Copy link
Copy Markdown
Member

Functions that are now returning error codes to javascript from libgit2

  • NodeGit.Attr.prototype.get
  • NodeGit.Blob.createFrombuffer
  • NodeGit.Blob.createFromworkdir
  • NodeGit.Reference.list
  • NodeGit.Remote.prototype.getFetchRefspecs
  • NodeGit.Remote.prototype.getPushRefspecs

Functions that are now async

  • NodeGit.Attr.prototype.getMany
  • NodeGit.Tag.prototype.target
  • NodeGit.Treebuilder.prototype.Write

WorkTree is now exposed

Static methods

  • add
  • list
  • lookup
  • openFromRepository

Instance methods

  • isLocked
  • isPrunable
  • lock
  • prune
  • unlock
  • validate

Breaking

Diffs generated from NodeGit.Diff.treeToIndex and NodeGit.Diff.treeToWorkdirWithIndex conditionally support NodeGit.Diff.OPTION.IGNORE_CASE. Only on repositories where the index is case insensitive will the flag be set on the output diff. The flag itself is ignored when passed to DiffOptions.

@implausible implausible force-pushed the bump/libgit2-to-v0.27.0 branch from f25e224 to 77cf252 Compare April 6, 2018 23:08
@implausible implausible merged commit 1439078 into nodegit:master Apr 9, 2018
@implausible implausible deleted the bump/libgit2-to-v0.27.0 branch April 9, 2018 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant