Changelog
<a name="v0-10-0" href="#v0-10-0">v0.10.0</a> (2016-02-01)
ConvenientPatch
by an order of magnitude PR #883ConvenientPatch
ConvenientPatch
does not have a patch
or a delta
property associated with it, if you were using the delta
, please just use prototype methods oldFile
, newFile
, and Status
, which are stripped directly from the delta
.ConvenientPatch#hunks
returns a promise with an array of ConvenientHunks
.ConvenientHunk
ConvenientHunk
does not have an exposed diffHunk associated with it, but does have the same members as diffHunk:
size()
: number of lines in the hunkoldStart()
: old starting positionoldLines()
: number of lines in old filenewStart()
: new starting positionnewLines()
: number of lines in new fileheaderLen()
: length of headerheader()
: returns the header of the hunklines()
: returns a promise containing DiffLines
, not ConvenientLines
.DiffLine
DiffLine
now contains the members rawContent()
and content()
.
rawContent()
contains the unformatted content of the line. This is no longer a string from the line to the end of the file.content()
contains the utf8 formatted content of the line.Changelog
<a name="v0-9-0" href="#v0-9-0">v0.9.0</a> (2016-01-21)
Submodule#setIgnore
, Submodule#setUpdate
, and Submodule#setUrl
are now all async. Submodule#status
and Submodule#location
are now available PR #867 and PR #870Remote#defaultBranch
is now available PR #872Repository#mergeBranches
now takes in a MergeOptions
parameter PR #873Index#addAll
faster since that is fixed in libgit2 PR #875)Changelog
<a name="v0-8-0" href="#v0-8-0">v0.8.0</a> (2016-01-15)
NodeGit.enableThreadSafety()
to turn onnodegit-promise
library to be passed in. You can now use whatever you want!Repository#stageFilemode
now can accept an array of strings for files to updateSubmodule#addToIndex
, Submodule#addFinalize
, Submodule#init
, Submodule#open
, Submodule#sync
, and Submodule#update
are now all async methodssChangelog
<a name="v0-7-0" href="#v0-7-0">v0.7.0</a> (2016-01-08)
Changelog
<a name="v0-6-3" href="#v0-6-3">v0.6.3</a> (2015-12-16)
Changelog
<a name="v0-6-2" href="#v0-6-2">v0.6.2</a> (2015-12-16)
Changelog
<a name="v0-6-1" href="#v0-6-1">v0.6.1</a> (2015-12-14)