Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ticket/10092] Ignore overlength comment lines in commit-msg hook. | Oleg Pudeyev | 2011-03-11 | 1 | -1/+1 |
| | | | | PHPBB3-10092 | ||||
* | [ticket/9824] Accept commit messages with less than perfect headings. | Oleg Pudeyev | 2011-03-01 | 1 | -1/+13 |
| | | | | | | | | Some commit messages exist only temporarily, because they are given on commits that are intended to be squashed. Accept such commit messages with a warning. PHPBB3-9824 | ||||
* | [ticket/9824] Allow empty lines after ticket reference. | Oleg Pudeyev | 2011-03-01 | 1 | -1/+8 |
| | | | | PHPBB3-9824 | ||||
* | [ticket/9824] Use printf instead of echo to render \n. | Oleg Pudeyev | 2011-03-01 | 1 | -1/+1 |
| | | | | | | On FreeBSD `echo "\n"` prints \n verbatim. Use printf instead. PHPBB3-9824 | ||||
* | [ticket/9824] Handle empty commit messages in commit-msg hook. | Oleg Pudeyev | 2011-03-01 | 1 | -0/+11 |
| | | | | | | | | | Git already handles the case of commit message being empty by aborting the commit and displaying a reasonably helpful message. If there is no commit message, the hook will exit with success exit code to let git do its thing. PHPBB3-9824 | ||||
* | [ticket/9824] Add space after [ticket/12345] in prepared commit message. | Andreas Fischer | 2011-03-02 | 1 | -1/+1 |
| | | | | PHPBB3-9824 | ||||
* | [ticket/9824] Remove space after PHPBB3-12345 in prepared commit message. | Andreas Fischer | 2011-03-02 | 1 | -1/+1 |
| | | | | PHPBB3-9824 | ||||
* | Merge branch 'task/cs278/git-tools' into develop-olympus | Igor Wiedler | 2010-09-09 | 1 | -4/+5 |
|\ | | | | | | | | | | | * task/cs278/git-tools: [task/git-tools] Change the GNU --lines argument to the POSIX -l [task/git-tools] Solve dependency on the GNU wc --max-line-length option | ||||
| * | [task/git-tools] Change the GNU --lines argument to the POSIX -l | Chris Smith | 2010-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Changed to awk which handles the formatting differences between the two versions of wc -- BSD version prefixes the output with spaces, the GNU version does not. PHPBB3-9808 | ||||
| * | [task/git-tools] Solve dependency on the GNU wc --max-line-length option | Chris Smith | 2010-09-07 | 1 | -3/+4 |
| | | | | | | | | PHPBB3-9808 | ||||
* | | [ticket/9777] Print error message in pre-commit hook when php is not installed. | Oleg Pudeyev | 2010-08-19 | 1 | -0/+7 |
|/ | | | | PHPBB3-9777 | ||||
* | [task/git-tools] Ignore git commit message comments | Chris Smith | 2010-08-10 | 1 | -1/+13 |
| | | | | | | | Git commit message comments can be contained anywhere in the message and this change ignores where they appear. PHPBB3-9768 | ||||
* | [task/git-tools] Adjust the hook to enforce that a ticket is always mentioned | Chris Smith | 2010-08-10 | 1 | -2/+2 |
| | | | | PHPBB3-9768 | ||||
* | [task/git-tools] Vastly expanded commit-msg hook. | Chris Smith | 2010-08-10 | 1 | -5/+224 |
| | | | | | | | | | | | | | | | | This updated hook supports validates each line of the commit message confirms to the phpBB standards [1], there are two git config options which adjust the behaviour of the hook. They are: * phpbb.hooks.commit-msg.fatal: Set to false for the hook to allow commits with malformed structure, useful if you'll be squashing or editing the commits later. True is the default value. * phpbb.hooks.commit-msg.debug: Any integer value greater than 0 will increase the debugging verbosity of the hook, the default value is 0. [1] http://wiki.phpbb.com/display/DEV/Git PHPBB3-9768 | ||||
* | [task/git-tools] Beginnings of a syntax checking hook. | Chris Smith | 2010-08-10 | 1 | -0/+26 |
| | | | | | | Currently this hook checks line length is less than or equal to 80 characters. PHPBB3-9768 | ||||
* | [task/git-tools] Append ticket identifier to commit message prior to editing. | Chris Smith | 2010-08-10 | 2 | -25/+9 |
| | | | | PHPBB3-9770 | ||||
* | [task/git-tools] add install and uninstall scripts for hooks | Igor Wiedler | 2010-07-12 | 2 | -0/+33 |
| | | | | PHPBB3-9769 | ||||
* | [task/git-tools] move ticket id appending to commit-msg hook | Igor Wiedler | 2010-07-12 | 2 | -7/+24 |
| | | | | PHPBB3-9770 | ||||
* | [task/git-tools] append ticket id to git log message | Igor Wiedler | 2010-07-12 | 1 | -0/+7 |
| | | | | PHPBB3-9770 | ||||
* | [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. |