aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools/hooks/pre-commit
Commit message (Collapse)AuthorAgeFilesLines
* [git-tools] Use @ instead of : in sed command in pre-commit hook for wider ↵Oleg Pudeyev2010-04-131-1/+1
| | | | compatibility.
* [git-tools] Adjusted pre-commit hook to run under freebsd /bin/sh.Oleg Pudeyev2010-04-131-2/+5
|
* [git-tools] Changed pre-commit hook to use sh instead of bashOleg Pudeyev2010-04-131-1/+1
|
* [git-tools] add note about PHP_BIN using envIgor Wiedler2010-04-031-0/+1
|
* [git-tools] do not display stderrIgor Wiedler2010-04-031-1/+1
|
* [git-tools] Use env to find the correct paths to binaries.Chris Smith2010-04-031-2/+2
|
* [git-tools] Display what parse errors were found.Chris Smith2010-04-031-1/+6
|
* [git-tools] This script requires bash to run, so point directly to bash.Chris Smith2010-04-031-1/+1
|
* [git-tools] Improvements for the pre-commit hookIgor Wiedler2010-03-171-5/+28
| | | | | | | One major issue with the pre-hook so far was partially staged files, because it used filenames for php lint. These changes will make the hook read the file contents from the index instead. Great thanks to David Soria Parra.
* [git-tools] Some pre-commit enhancements, abolish tempfileIgor Wiedler2010-03-111-4/+4
|
* [git-tools] use mktemp in pre-commit (thanks nn-)Igor Wiedler2010-03-101-2/+1
|
* [git-tools] pre-commit hook for syntax checkingIgor Wiedler2010-03-101-0/+44
This pre-commit hook utilises PHP's command-line -l (lint) option, which checks for syntax errors. In case of an error the commit is rejected and the error displayed. Testing is welcome.