File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1560,7 +1560,7 @@ pub fn main() -> Result<()> {
15601560        Subcommands :: Blame  { 
15611561            statistics, 
15621562            file, 
1563-             range , 
1563+             ranges , 
15641564            since, 
15651565        }  => prepare_and_run ( 
15661566            "blame" , 
@@ -1578,7 +1578,7 @@ pub fn main() -> Result<()> {
15781578                    & file, 
15791579                    gix:: blame:: Options  { 
15801580                        diff_algorithm, 
1581-                         range :  range . map ( BlameRanges :: from_range ) . unwrap_or_default ( ) , 
1581+                         range :  gix :: blame :: BlameRanges :: from_ranges ( ranges ) , 
15821582                        since, 
15831583                    } , 
15841584                    out, 
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ pub enum Subcommands {
168168        /// The file to create the blame information for. 
169169file :  std:: ffi:: OsString , 
170170        /// 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 > > , 
173173        /// Don't consider commits before the given date. 
174174#[ clap( long,   value_parser=AsTime ,  value_name = "DATE" ) ]  
175175        since :  Option < gix:: date:: Time > , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments