projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8135612
)
MTrack/SCM/Git/Repo.php
author
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 05:05:09 +0000
(13:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 05:05:09 +0000
(13:05 +0800)
MTrack/SCM/Git/Repo.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/Repo.php
b/MTrack/SCM/Git/Repo.php
index
cf800b0
..
9885ed4
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-250,6
+250,9
@@
HOOK;
} else if (is_array($limit) && isset($limit[0]) && isset($limit[2])) {
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
+
+
+ /// oh what a horible hack.. - bad api design here.
} else if (is_object($limit) ) {
foreach($limit as $k=>$v) {