Skip to content

Commit

Permalink
Add initial implementation and tests for gix-blame.
Browse files Browse the repository at this point in the history
Note that it's still very early, and this is more of a proof-of-concept
that may still have some shortcomings compared to `git blame`.
  • Loading branch information
cruessler authored and Byron committed Dec 23, 2024
1 parent 7659a65 commit d27adf7
Show file tree
Hide file tree
Showing 5 changed files with 2,767 additions and 24 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

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

12 changes: 11 additions & 1 deletion gix-blame/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "gix-blame"
version = "0.0.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "A crate of the gitoxide project dedicated implementing a 'blame' algorithm"
description = "A crate of the gitoxide project dedicated to implementing a 'blame' algorithm"
authors = ["Christoph Rüßler <[email protected]>", "Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.65"
Expand All @@ -14,6 +14,16 @@ rust-version = "1.65"
doctest = false

[dependencies]
gix-diff = { version = "^0.48.0", path = "../gix-diff", default-features = false, features = ["blob"] }
gix-object = { version = "^0.46.0", path = "../gix-object" }
gix-hash = { version = "^0.15.0", path = "../gix-hash" }
gix-worktree = { version = "^0.38.0", path = "../gix-worktree", default-features = false, features = ["attributes"] }
gix-traverse = { version = "^0.43.0", path = "../gix-traverse" }

[dev-dependencies]
gix-ref = { version = "^0.49.0", path = "../gix-ref" }
gix-filter = { version = "^0.15.0", path = "../gix-filter" }
gix-fs = { version = "^0.12.0", path = "../gix-fs" }
gix-index = { version = "^0.37.0", path = "../gix-index" }
gix-odb = { version = "^0.65.0", path = "../gix-odb" }
gix-testtools = { path = "../tests/tools" }
Loading

0 comments on commit d27adf7

Please sign in to comment.