projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
buildSDK/pre-commit
[roojs1]
/
buildSDK
/
pre-commit
diff --git
a/buildSDK/pre-commit
b/buildSDK/pre-commit
old mode 100644
(file)
new mode 100755
(executable)
index
b262ea0
..
143f6f0
--- a/
buildSDK/pre-commit
+++ b/
buildSDK/pre-commit
@@
-2,8
+2,11
@@
<?php
-
+$ar = array();
while (($line = fgets(STDIN)) !== false) {
- echo "got: $line\n";
+ echo "got: $line\n";
+ $ar[] = $line;
}
-
+file_put_contents("/tmp/commitlog.txt", implode("\n", $ar));
+
+
\ No newline at end of file