File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public final class Git: Shell {
3838        /// - parameter revision the name of the revision to parse. can be symbolic (`@`), human-readable (`origin/HEAD`) or a commit SHA hash
3939        case  revParse( abbrevRef:  Bool ,  revision:  String ) 
4040
41-         case  revList( branch :   String ,   count:  Bool  =  false ,  revisions:  String ?   =  nil ) 
41+         case  revList( count:  Bool  =  false ,  revisions:  String ?   =  nil ) 
4242        case  raw( String ) 
4343        case  lsRemote( url:  String ,  limitToHeads:  Bool  =  false ) 
4444
@@ -153,7 +153,7 @@ public final class Git: Shell {
153153                params =  [ Command . config. rawValue,  " --add " ,  name,  value] 
154154            case  . readConfig( let  name) : 
155155                params =  [ Command . config. rawValue,  " --get " ,  name] 
156-             case  . revList( _ ,   let  count,  let  revisions) : 
156+             case  . revList( let  count,  let  revisions) : 
157157                params =  [ Command . revList. rawValue] 
158158                if  count { 
159159                    params. append ( " --count " ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments