aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-06-22 16:42:29 +0200
committerChris Smith <toonarmy@phpbb.com>2010-07-12 02:04:29 +0100
commit6b2f4b6a850493fa0277ae38ee816d7c5a3a2311 (patch)
tree4d0a8c733f361b638371d75c2790c92f035006d6 /git-tools/hooks/prepare-commit-msg
parent[task/git-tools] append ticket id to git log message (diff)
downloadphpbb-6b2f4b6a850493fa0277ae38ee816d7c5a3a2311.tar.gz
phpbb-6b2f4b6a850493fa0277ae38ee816d7c5a3a2311.tar.bz2
phpbb-6b2f4b6a850493fa0277ae38ee816d7c5a3a2311.zip
[task/git-tools] move ticket id appending to commit-msg hook
PHPBB3-9770
Diffstat (limited to 'git-tools/hooks/prepare-commit-msg')
-rwxr-xr-xgit-tools/hooks/prepare-commit-msg7
1 files changed, 0 insertions, 7 deletions
diff --git a/git-tools/hooks/prepare-commit-msg b/git-tools/hooks/prepare-commit-msg
index ab01f49b5a..033cb187c7 100755
--- a/git-tools/hooks/prepare-commit-msg
+++ b/git-tools/hooks/prepare-commit-msg
@@ -32,10 +32,3 @@ if [ "$2" = "" ]
then
echo "[$branch] $(cat "$1")" > "$1"
fi
-
-if (echo $branch | grep '^ticket/')
-then
- ticket_id="$(echo $branch | sed "s/ticket\///g")"
- echo >> "$1"
- echo "PHPBB3-$ticket_id" >> "$1"
-fi