diff options
author | Stan Hu <stanhu@gmail.com> | 2018-02-14 13:58:48 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-02-14 13:58:48 -0800 |
commit | 850689081820d0fcf466bb76c17d182b59e0b416 (patch) | |
tree | 4127b2cae0b7c79be5a3a8d0e3c1ba93ba0441d5 /app/models/repository.rb | |
parent | 5b3b2b826d20a2f9c7df4a4685eb283acc394cbf (diff) | |
download | gitlab-ce-850689081820d0fcf466bb76c17d182b59e0b416.tar.gz |
Remove head_commit callsh-fix-error-500-licensee
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index bfb06d61890..4f754b11da4 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -592,7 +592,6 @@ class Repository def license_key return unless exists? - return unless head_commit # The licensee gem creates a Rugged object from the path: # https://github.com/benbalter/licensee/blob/v8.7.0/lib/licensee/projects/git_project.rb |