You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LibGit2: Add wrappers for git_apply_to_tree, git_diff_from_buffer, and git_index_write_tree_to
Added Julia wrappers for three libgit2 functions with idiomatic APIs:
- `GitDiff(::AbstractString)`: Parse diffs from unified diff format buffers
- `apply_to_tree(repo, preimage, diff, options)`: Apply a diff to a tree,
returning a GitIndex with the result
- `write_tree_to!(repo, idx)`: Write an index as a tree to a repository
Made GitDiff and GitDiffStats repository-independent since they can be
created from buffers and all operations work purely on object pointers.
Added ApplyOptions struct for apply configuration and tests for all new
functionality.
0 commit comments