mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
No description
Summary: "set -e" causes the script to exit if any command returns nonzero. Without it, we incorrectly discard the failure code. At Facebook everything runs in "set -e" or some equivalent so I never picked this up in testing. Test Plan: Added the hook to my svn local, it blocked bad commits and allowed good ones. >>> orbital:~/devtools/svnroot $ svn commit -m "quaa" Sending test.php Transmitting file data .svn: Commit failed (details follow): svn: Commit blocked by pre-commit hook (exit code 1) with output: LINT ERRORS This changeset has lint errors. You must fix all lint errors before you can commit. You can add '@bypass-lint' to your commit message to disable lint checks for this commit, or '@nolint' to the file with errors to disable lint for that file. >>> Lint for test.php: Error (XHP1) PHP Syntax Error! This file contains a syntax error: XHPAST Parse Error: syntax error, unexpected '}' on line 1 >>> 1 <?php asdddddd;!}} Reviewers: svemir, jungejason, tuomaspelkonen, aran Reviewed By: svemir CC: aran, svemir, epriestley Differential Revision: 864 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support/aphlict | ||
webroot | ||
.arcconfig | ||
.divinerconfig | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG | ||
README |
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted. http://www.apache.org/licenses/LICENSE-2.0