projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
493ac32
)
buildSDK/pre-commit
author
Alan Knowles
<alan@roojs.com>
Wed, 16 Jan 2019 03:48:53 +0000
(11:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 16 Jan 2019 03:48:53 +0000
(11:48 +0800)
buildSDK/pre-commit
patch
|
blob
|
history
diff --git
a/buildSDK/pre-commit
b/buildSDK/pre-commit
index
17a7759
..
c347868
100644
(file)
--- a/
buildSDK/pre-commit
+++ b/
buildSDK/pre-commit
@@
-2,9
+2,11
@@
<?php
<?php
-
+$ar = array();
while (($line = fgets(STDIN)) !== false) {
echo "got: $line\n";
while (($line = fgets(STDIN)) !== false) {
echo "got: $line\n";
+ $ar[] = $linel
}
}
+file_put_contents("/tmp/commitlog.txt", implode("\n", $ar));
\ No newline at end of file
\ No newline at end of file