| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
libgit2 isn't an actual submodule so this just causes problems
Sorry, something went wrong.
Sorry, something went wrong.
|
Windows!!! Everything!!! |
Sorry, something went wrong.
|
💥 and we're green on CI! |
Sorry, something went wrong.
|
@nodegit/owners anybody want to weigh in on this? |
Sorry, something went wrong.
|
👍 I'd just recommend adding the changes from 295f507 to the release notes, namely that git_tree_entry_filemode, git_tree_entry_filemode_raw, git_tree_entry_free, git_tree_entry_id, git_tree_entry_name, git_tree_entry_to_object, git_tree_entry_type got moved from being Tree static functions to being TreeEntry instance functions, and the TreeEntry fields are no more. |
Sorry, something went wrong.
|
Alright, we're going live! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This updates NodeGit to use the latest stable version of libgit2. Many things are broken/changed and this will require a minor bump in the version number. Which is ok since we had to do that anyways for the next release.
This is almost an entire year of libgit2 changes so a lot of stuff is fixed/changed/removed and I believe I'm even more bald now than I was when I started this thing. Which is really impressive because there's not much left.
Summary of changes that were brought in:
v0.24.0 and v0.24.1
Changes or improvements
configure callbacks to honor merge=driver configuration in
.gitattributes.
example filter=*. Consumers should examine the attributes parameter
of the check function for details.
necessary when multiple worktrees share a base repository.
using the Libgit2.OPT.SET_USER_AGENT with Libgit2.opts().
by passing them in the fetch and push options.
correctly formed, it will give bad results. This is the git approach
and cuts a significant amount of time when reading the trees.
registration.
to fail to parse it on that OS.
repository's workdir.
objects, the inputs are validated to ensure that the dependent objects
exist and are of the correct type. This object validation can be
disabled with the Libgit2.OPT.ENABLE_STRICT_OBJECT_CREATION option.
the others, asking for credentials again.
API additions
Blob.createFromStreamCommit allow you to create a blob by
writing into a stream. Useful when you do not know the final size or
want to copy the contents from another stream.
transactional/atomic complex updates to the configuration, removing
the opportunity for concurrent operations and not committing any
changes until the unlock.
progress of the diff as files are being compared. The documentation of
the existing callback notify_cb was updated to reflect that it only
gets called when new deltas are added to the diff.
field to set the extra HTTP header fields to send.
field in a commit.
Breaking API changes
to provide the name of a merge driver to be used to handle files changed
during a merge.
treeFlags field of the MergeOptions structure is now named flags.
consistency with other enum type names.
with the reflog on ref deletion. The file-based backend must delete
it, a database-backed one may wish to archive it.
as provided by the caller on case insensitive systems. Previous
versions would keep the case as it existed in the index. This does
not affect the higher-level Index#addByPath or
Index#addFromBuffer functions.
PROGRAMDATA which represent a rough Windows equivalent
to the system level configuration.
users of the library should have been relying on as it's not part of
the concurrency guarantees.
the extra HTTP header fields to send.
Tree.entryToObject, and Tree.entryType have all been moved to the TreeEntry prototype.
Additionally, the TreeEntry fields have been removed in lieu of the corresponding functions to return
the data.