projects
/
web.mtrack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MTrack/SCM/Git/Repo.php
[web.mtrack]
/
MTrack
/
SCM
/
Git
/
Repo.php
diff --git
a/MTrack/SCM/Git/Repo.php
b/MTrack/SCM/Git/Repo.php
index
2c93a2f
..
09bd8b2
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-253,7
+253,7
@@
HOOK;
/// oh what a horible hack.. - bad api design here.
- } else if (
$limit
) {
+ } else if (
is_array($limit)
) {
foreach($limit as $k=>$v) {
$args[] = ($k == '-') ? $v : ('--'. $k .'='. $v);