• Dmitriy Zaporozhets's avatar
    Merge branch 'ambiguous-sha' into 'master' · b956605f
    Dmitriy Zaporozhets authored
    Fix ambiguous sha problem with mentioned commit
    
    Before: write in database only 6 chars of commit sha. This cause to `Ambiguous SHA1 prefix` exception.
    
    - [x] write full commit sha in db.
    - [x] Standardise usage of sha truncation: 8 characters everywhere.
    - [x] prevent exception when ambiguous sha requested in markdown
    
    Fixes #1644
    
    See merge request !1171
    b956605f
gitlab_markdown_helper_spec.rb 27.2 KB