diff options
| author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-12 15:18:56 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-12 15:18:56 +0200 |
| commit | 4dd5d9c8cce5c596a159277c464026cf0f50f1c4 (patch) | |
| tree | 1383f4dde7ceee3a94e7eaf4d86b756aafe4cbbe /lib/commit_ext.rb | |
| parent | c1c64d985ec66433b9e990c5595997850727d8aa (diff) | |
| download | gitlab-ce-4dd5d9c8cce5c596a159277c464026cf0f50f1c4.tar.gz | |
Issue #185 – Show branch name for commits on activities & dashboard pages
Diffstat (limited to 'lib/commit_ext.rb')
| -rw-r--r-- | lib/commit_ext.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/commit_ext.rb b/lib/commit_ext.rb index db6503557ae..2850a239544 100644 --- a/lib/commit_ext.rb +++ b/lib/commit_ext.rb @@ -1,4 +1,6 @@ module CommitExt + attr_accessor :head + def safe_message message.encode("UTF-8", :invalid => :replace, |
