aboutsummaryrefslogtreecommitdiffstats
path: root/git-tools/hooks/prepare-commit-msg
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9824] Use printf instead of echo to render \n.Oleg Pudeyev2011-03-011-1/+1
| | | | | | On FreeBSD `echo "\n"` prints \n verbatim. Use printf instead. PHPBB3-9824
* [ticket/9824] Add space after [ticket/12345] in prepared commit message.Andreas Fischer2011-03-021-1/+1
| | | | PHPBB3-9824
* [ticket/9824] Remove space after PHPBB3-12345 in prepared commit message.Andreas Fischer2011-03-021-1/+1
| | | | PHPBB3-9824
* [task/git-tools] Append ticket identifier to commit message prior to editing.Chris Smith2010-08-101-1/+9
| | | | PHPBB3-9770
* [task/git-tools] move ticket id appending to commit-msg hookIgor Wiedler2010-07-121-7/+0
| | | | PHPBB3-9770
* [task/git-tools] append ticket id to git log messageIgor Wiedler2010-07-121-0/+7
| | | | PHPBB3-9770
* [git-tools] Prepend the branch to the commit message for all branches.Chris Smith2010-04-031-1/+1
|
* [git-tools] Improvements on prepare-commt-msg hookIgor Wiedler2010-03-131-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.
* Add feature/ support to branchname hookIgor Wiedler2010-03-081-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 hookIgor Wiedler2010-03-081-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.