summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 61551df9e27..c30a630429a 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -115,7 +115,7 @@ class Commit
# Mentionable override.
def gfm_reference
- "commit #{short_id}"
+ "commit #{id}"
end
def method_missing(m, *args, &block)