Skip to content

Commit 268dac4

Browse files
cruesslerholodorum
andcommitted
Adapt to change in gix-blame
Co-authored-by: Bart Dubbeldam <bartdubbeldam2000@gmail.com>
1 parent 7ecbec0 commit 268dac4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gix/tests/gix/repository/blame.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn with_options() -> crate::Result {
1818
let repo = crate::named_repo("make_blame_repo.sh")?;
1919

2020
let options = gix::blame::Options {
21-
range: gix::blame::BlameRanges::from_range(1..=2),
21+
ranges: gix::blame::BlameRanges::from_one_based_inclusive_range(1..=2)?,
2222
..Default::default()
2323
};
2424

src/plumbing/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ pub fn main() -> Result<()> {
16251625
&file,
16261626
gix::blame::Options {
16271627
diff_algorithm,
1628-
range: gix::blame::BlameRanges::from_ranges(ranges),
1628+
ranges: gix::blame::BlameRanges::from_ranges(ranges),
16291629
since,
16301630
rewrites: Some(gix::diff::Rewrites::default()),
16311631
debug_track_path: false,

tests/it/src/commands/blame_copy_royal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub(super) mod function {
3737

3838
let options = gix::blame::Options {
3939
diff_algorithm,
40-
range: gix::blame::BlameRanges::default(),
40+
ranges: gix::blame::BlameRanges::default(),
4141
since: None,
4242
rewrites: Some(gix::diff::Rewrites::default()),
4343
debug_track_path: true,

0 commit comments

Comments
 (0)