+4
-4
lines changedFilter options
+4
-4
lines changed Original file line number Diff line number Diff line change
@@ -1560,7 +1560,7 @@ pub fn main() -> Result<()> {
1560
1560
Subcommands::Blame {
1561
1561
statistics,
1562
1562
file,
1563
-
range,
1563
+
ranges,
1564
1564
since,
1565
1565
} => prepare_and_run(
1566
1566
"blame",
@@ -1578,7 +1578,7 @@ pub fn main() -> Result<()> {
1578
1578
&file,
1579
1579
gix::blame::Options {
1580
1580
diff_algorithm,
1581
-
range: range.map(BlameRanges::from_range).unwrap_or_default(),
1581
+
range: gix::blame::BlameRanges::from_ranges(ranges),
1582
1582
since,
1583
1583
},
1584
1584
out,
Original file line number Diff line number Diff line change
@@ -168,8 +168,8 @@ pub enum Subcommands {
168
168
/// The file to create the blame information for.
169
169
file: std::ffi::OsString,
170
170
/// Only blame lines in the given 1-based inclusive range '<start>,<end>', e.g. '20,40'.
171
-
#[clap(short='L', value_parser=AsRange)]
172
-
range: Option<std::ops::Range<u32>>,
171
+
#[clap(short='L', value_parser=AsRange, action=clap::ArgAction::Append)]
172
+
ranges: Vec<std::ops::Range<u32>>,
173
173
/// Don't consider commits before the given date.
174
174
#[clap(long, value_parser=AsTime, value_name = "DATE")]
175
175
since: Option<gix::date::Time>,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4