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
bf096e2
..
72662a2
100644
(file)
--- a/
MTrack/SCM/Git/Repo.php
+++ b/
MTrack/SCM/Git/Repo.php
@@
-252,7
+252,9
@@
HOOK;
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else if (is_array($limit) ) {
foreach($line as $k=>$v) {
+
$args[] = ($k = '-') ? '' : ('--'. $k .'='. $v);
+
}
$args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
} else {