commit | d90bc12b7a546c9a7764d7c78bef717cf7f837aa | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Fri Mar 23 09:11:39 2018 +0100 |
committer | Robert Munteanu <rombert@apache.org> | Fri Mar 23 09:11:39 2018 +0100 |
tree | aadec7bbde3f60ed781a7d23a589fa0603bd86c5 | |
parent | 9d97ababc34f330f885f2548741544c9b16e724b [diff] |
jira_link_for_commit: add repo name
diff --git a/scripts/jira_link_for_commit.sh b/scripts/jira_link_for_commit.sh index f524463..862b633 100755 --- a/scripts/jira_link_for_commit.sh +++ b/scripts/jira_link_for_commit.sh
@@ -8,5 +8,6 @@ hash=$(git rev-parse --short ${commit}) base=$(git remote get-url origin) url=${base%.git}/commit/${hash} +repo_name=$(echo $base | awk -F '/' '{ gsub(".git", "", $5); print $5}') -echo "[commit ${hash}|${url}]" +echo "[${repo_name} commit ${hash}|${url}]"