Commit 069937d2 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'freeze-constants-lib-gitlab-git' into 'master'

Freeze constants in Gitlab::Git

See merge request !1730
parents 883bbd61 5ffec2c9
module Gitlab
module Git
BLANK_SHA = '0' * 40
TAG_REF_PREFIX = "refs/tags/"
BRANCH_REF_PREFIX = "refs/heads/"
BLANK_SHA = ('0' * 40).freeze
TAG_REF_PREFIX = "refs/tags/".freeze
BRANCH_REF_PREFIX = "refs/heads/".freeze
class << self
def ref_name(ref)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment