Skip to content

Commit

Permalink
Replace SHAs with links in commit messages.
Browse files Browse the repository at this point in the history
This helps out a bit with the commit/comment linking problem. You can write a
commit message like "Fixes isses from ef220ba66954e705fa7c8f26ad8f81db23e423d5"
for a fixup commit and then the message will have a link to the original.
  • Loading branch information
cespare committed Oct 11, 2011
1 parent 3f2748f commit ede08a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/commit.rb
Expand Up @@ -44,5 +44,6 @@ def format_message
.newlines_to_html
.link_github_issue("ooyala", git_repo.name)
.link_jira_issue
.replace_shas_with_links(git_repo.name)
end
end

0 comments on commit ede08a3

Please sign in to comment.