Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [git-tools] Use @ instead of : in sed command in pre-commit hook for wider ↵ | Oleg Pudeyev | 2010-04-13 | 1 | -1/+1 |
| | | | | compatibility. | ||||
* | [git-tools] Adjusted pre-commit hook to run under freebsd /bin/sh. | Oleg Pudeyev | 2010-04-13 | 1 | -2/+5 |
| | |||||
* | [git-tools] Changed pre-commit hook to use sh instead of bash | Oleg Pudeyev | 2010-04-13 | 1 | -1/+1 |
| | |||||
* | [git-tools] add note about PHP_BIN using env | Igor Wiedler | 2010-04-03 | 1 | -0/+1 |
| | |||||
* | [git-tools] do not display stderr | Igor Wiedler | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | [git-tools] Prepend the branch to the commit message for all branches. | Chris Smith | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | [git-tools] Use env to find the correct paths to binaries. | Chris Smith | 2010-04-03 | 1 | -2/+2 |
| | |||||
* | [git-tools] Display what parse errors were found. | Chris Smith | 2010-04-03 | 1 | -1/+6 |
| | |||||
* | [git-tools] This script requires bash to run, so point directly to bash. | Chris Smith | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | [git-tools] Improvements for the pre-commit hook | Igor Wiedler | 2010-03-17 | 1 | -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] Improvements on prepare-commt-msg hook | Igor Wiedler | 2010-03-13 | 1 | -6/+16 |
| | | | | | | | prepare-commit-hook now uses `git symbolic-ref HEAD` instead of reading $GIT_DIR/HEAD directly. This seems to be a more portable solution. Thanks to Chris (cs278/ToonArmy) for the suggestion. | ||||
* | [git-tools] Some pre-commit enhancements, abolish tempfile | Igor Wiedler | 2010-03-11 | 1 | -4/+4 |
| | |||||
* | [git-tools] use mktemp in pre-commit (thanks nn-) | Igor Wiedler | 2010-03-10 | 1 | -2/+1 |
| | |||||
* | [git-tools] pre-commit hook for syntax checking | Igor Wiedler | 2010-03-10 | 1 | -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. | ||||
* | Add feature/ support to branchname hook | Igor Wiedler | 2010-03-08 | 1 | -2/+2 |
| | | | | | The previously introduced branchname hook now will also use feature/ branch names, in addition to the existing bug/. | ||||
* | Adding a branchname prepare-commit-msg hook | Igor Wiedler | 2010-03-08 | 1 | -0/+24 |
Git supports several hooks, some of which are client-side. The prepare-commit-msg hook is run right after a `git commit` call, before the editor is opened. This allows the initial message to be altered. This hook will check if the current branch name begins with `bug/`, in which case it will prepend `[$branchname]` to the commit message. This makes it easier to create proper commit messages. http://wiki.phpbb.com/Git#Commit_Messages For more information refer to the hook source. |