diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-10 15:44:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-10 15:44:27 +0300 |
commit | 200118357de47c6db69a48eac2b488bfb46e9026 (patch) | |
tree | 57763f9eeb243ae7e071e23c5f5987ec20ceac9c /app | |
parent | 0189be0831350a5d473884a5b454a10509ff58ce (diff) | |
download | gitlab-ce-200118357de47c6db69a48eac2b488bfb46e9026.tar.gz |
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>
Diffstat (limited to 'app')
-rw-r--r-- | app/models/commit.rb | 2 |
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) |