Skip to content

Commit 8143d69

Browse files
holodorumByron
authored andcommitted
adapt to changes in gix-blame
1 parent f189031 commit 8143d69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plumbing/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use anyhow::{anyhow, Context, Result};
1111
use clap::{CommandFactory, Parser};
1212
use gitoxide_core as core;
1313
use gitoxide_core::{pack::verify, repository::PathsOrPatterns};
14-
use gix::bstr::{io::BufReadExt, BString};
14+
use gix::{bstr::{io::BufReadExt, BString}};
1515

1616
use crate::{
1717
plumbing::{
@@ -1578,7 +1578,7 @@ pub fn main() -> Result<()> {
15781578
&file,
15791579
gix::blame::Options {
15801580
diff_algorithm,
1581-
range,
1581+
range: range.map(BlameRanges::from_range).unwrap_or_default(),
15821582
since,
15831583
},
15841584
out,

0 commit comments

Comments
 (0)