git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not try to delete if file does not exist
[phorkie.git]
/
src
/
phorkie
/
Repository
/
Commit.php
diff --git
a/src/phorkie/Repository/Commit.php
b/src/phorkie/Repository/Commit.php
index 62f1d408cb8f09373d2b3709479af07881f510c2..1ac8cc5cce40788a526446f40578ecf9b51112cd 100644
(file)
--- a/
src/phorkie/Repository/Commit.php
+++ b/
src/phorkie/Repository/Commit.php
@@
-44,7
+44,9
@@
class Repository_Commit
$r = intval($r / $quot);
$g = intval($g / $quot);
}
$r = intval($r / $quot);
$g = intval($g / $quot);
}
- $string = str_repeat('g', $g) . str_repeat('r', $r) . str_repeat('n', 7 - $g - $r);
+ $string = str_repeat('g', $g)
+ . str_repeat('r', $r)
+ . str_repeat('n', 7 - $g - $r);
return str_split($string);
}
return str_split($string);
}