MTrack/SCM/Git/Repo.php
authorAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 05:01:49 +0000 (13:01 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 05:01:49 +0000 (13:01 +0800)
MTrack/SCM/Git/Repo.php

index bf096e2..72662a2 100644 (file)
@@ -252,7 +252,9 @@ HOOK;
                 $args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
             } else if (is_array($limit) ) {
                 foreach($line as $k=>$v) {
+                     
                     $args[] = ($k = '-') ? '' : ('--'. $k .'='. $v);
+                    
                 }
                 $args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
             } else {