Skip to content

Commit

Permalink
Fix github link generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 19, 2013
1 parent cbaee0d commit 3df8b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-hooks/post-receive.d/email
Expand Up @@ -368,6 +368,7 @@ generate_update_branch_email()

if [ -z "$rewind_only" ]; then
reponame=$(git config hooks.reponame)
ghubreponame=$(git config hooks.github-reponame || git config hooks.reponame)

echo "The following is a summary of the commits."
echo ""
Expand Down Expand Up @@ -438,7 +439,7 @@ generate_update_branch_email()
git show --stat=,999 --summary --no-color $rev
echo ""

ghublink="$GIT_GITHUB_URL/$reponame/commit/$rev"
ghublink="$GIT_GITHUB_URL/$ghubreponame/commit/$rev"
echo $ghublink

links="$GIT_CHORA_URL/$reponame/-/commit/$rev"
Expand Down

0 comments on commit 3df8b50

Please sign in to comment.