Skip to content

Commit

Permalink
Implement text and binary merge algorithms, also with baseline te…
Browse files Browse the repository at this point in the history
…sts for correctness.
  • Loading branch information
Byron committed Sep 25, 2024
1 parent b96d11f commit ca465ab
Show file tree
Hide file tree
Showing 9 changed files with 1,481 additions and 21 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions gix-merge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ serde = { version = "1.0.114", optional = true, default-features = false, featur

document-features = { version = "0.2.0", optional = true }

[dev-dependencies]
gix-testtools = { path = "../tests/tools" }
pretty_assertions = "1.4.0"

[package.metadata.docs.rs]
all-features = true
features = ["document-features"]
753 changes: 733 additions & 20 deletions gix-merge/src/blob/builtin_driver.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gix-merge/src/blob/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub mod merge {
pub other: ResourceRef<'parent>,
}

#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub struct Options {
/// If `true`, the resources being merged are contained in a virtual ancestor,
/// which is the case when merge bases are merged into one.
Expand Down
Binary file not shown.
Loading

0 comments on commit ca465ab

Please sign in to comment.