Merge branch 'master' of /home/git/private/web.mtrack
authorwww-data <www-data@newweb2.(none)>
Sat, 3 Nov 2012 05:03:03 +0000 (13:03 +0800)
committeralan@roojs.com <alan@roojs.com@http.192.168.0.40>
Sat, 3 Nov 2012 05:03:03 +0000 (13:03 +0800)
MTrack/SCM/Git/Repo.php

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