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 various diff-related functions (#59700)
Added Julia wrappers for three libgit2 functions:
- `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.
Written by Claude
Co-authored-by: Keno Fischer <[email protected]>
0 commit comments