projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e4a6f31
)
MTrack/SCM/Git/Repo.php
author
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 04:59:55 +0000
(12:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 3 Nov 2012 04:59:55 +0000
(12:59 +0800)
MTrack/SCM/Git/Repo.php
patch
|
blob
|
history
diff --git
a/MTrack/SCM/Git/Repo.php
b/MTrack/SCM/Git/Repo.php
index
e9760ba
..
bf096e2
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-252,7
+252,7
@@
HOOK;
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else if (is_array($limit) ) {
foreach($line as $k=>$v) {
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else if (is_array($limit) ) {
foreach($line as $k=>$v) {
- $args[] = ($k = '-'
? '' : ('--'. $k .'='. $v
;
+ $args[] = ($k = '-'
) ? '' : ('--'. $k .'='. $v)
;
}
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else {
}
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else {