Use full commit sha width for reference in note body to prevent Ambiguous SHA1 prefix problem

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-10-10 15:44:27 +03:00
parent 0189be0831
commit 200118357d
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A

View file

@ -115,7 +115,7 @@ class Commit
# Mentionable override.
def gfm_reference
"commit #{short_id}"
"commit #{id}"
end
def method_missing(m, *args, &block)