projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29277fe
)
MTrack/SCM/Git/Repo.php
author
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 05:06:26 +0000
(13:06 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 05:06:26 +0000
(13:06 +0800)
MTrack/SCM/Git/Repo.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/Repo.php
b/MTrack/SCM/Git/Repo.php
index
09bd8b2
..
e5b36ec
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-247,7
+247,7
@@
HOOK;
if ($limit !== null) {
if (is_int($limit)) {
$args[] = "--max-count=$limit";
- } else if (is_array($limit) && isset($limit[0]) && isset($limit[
2
])) {
+ } else if (is_array($limit) && isset($limit[0]) && isset($limit[
1
])) {
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";