Skip to content

Commit 3c54e5b

Browse files
committed
Add blame to extras, and asssure it's tested separately on CI
1 parent cdb1100 commit 3c54e5b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

gix/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ extras = [
6767
"interrupt",
6868
"status",
6969
"dirwalk",
70+
"blame"
7071
]
7172

7273
## A collection of features that need a larger MSRV, and thus are disabled by default.

gix/tests/gix/repository/blame.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use gix::bstr::BString;
22
use std::num::NonZero;
33

44
#[test]
5-
fn blame_simple() -> crate::Result {
5+
fn simple() -> crate::Result {
66
let repo = crate::named_repo("make_blame_repo.sh")?;
77

88
let suspect = repo.head_id()?;
@@ -14,7 +14,7 @@ fn blame_simple() -> crate::Result {
1414
}
1515

1616
#[test]
17-
fn blame_simple_with_options() -> crate::Result {
17+
fn with_options() -> crate::Result {
1818
let repo = crate::named_repo("make_blame_repo.sh")?;
1919

2020
let options = gix::blame::Options {

justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ check:
133133
cargo check -p gix --no-default-features --features credentials --tests
134134
cargo check -p gix --no-default-features --features index --tests
135135
cargo check -p gix --no-default-features --features interrupt --tests
136+
cargo check -p gix --no-default-features --features blame --tests
136137
cargo check -p gix --no-default-features
137138
cargo check -p gix-odb --features serde
138139
cargo check --no-default-features --features max-control

0 commit comments

Comments
 (0)