diff options
author | Matt Watson <mattdangerw@gmail.com> | 2014-02-19 14:55:37 -0800 |
---|---|---|
committer | Matt Watson <mattdangerw@gmail.com> | 2014-02-19 14:55:37 -0800 |
commit | 75a8db26b518ee0e935d00f08f549f3b226bfe0e (patch) | |
tree | aff75ee02e864bafc30e5881b08bbca265e03b78 /commit-msg | |
parent | a46e8331406eaa7eddd715073e10dea2cdd624af (diff) |
Removed the commit-msg hook
And the code to install it in autogen.sh
[endlessm/eos-sdk#587]
Diffstat (limited to 'commit-msg')
-rw-r--r-- | commit-msg | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/commit-msg b/commit-msg deleted file mode 100644 index 5977945..0000000 --- a/commit-msg +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -# move this script to the .git/hooks directory for your repo. -# make sure to chmod +x .git/hooks/commit-msg - -branch=`git rev-parse --abbrev-ref HEAD` - -if [[ $branch == issues/* ]]; then - link=$(echo $branch | awk -F/ '{ print "[endlessm/eos-sdk#"$2"]" }') - echo "issue link: $link" - echo $link >> $1 -fi - -exit 0 |