diff options
author | Stan Hu <stanhu@gmail.com> | 2018-08-09 00:54:58 +0300 |
---|---|---|
committer | Julius Kvedaras <juliuskvedaras@yahoo.ie> | 2018-08-09 15:14:32 +0300 |
commit | 5f79aeec38c157816f6a56aab0bd40c56338c52d (patch) | |
tree | 1d5167ca305a200f1fd88ddadb3502e0f2e95f40 /lib/gitlab | |
parent | 65d0a4265afa8f4f984147dfe9fb8eda2936e37b (diff) |
Merge branch 'rd-fix-bug-when-authenticating-user-for-repo-with-size-check-enabled-ce' into 'master'
Backport of gitlab-org/gitlab-ee!6848
See merge request gitlab-org/gitlab-ce!21096
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/git/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index de189ac6dfc..3e11355435b 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -382,7 +382,7 @@ module Gitlab end def new_blobs(newrev) - return [] if newrev == ::Gitlab::Git::BLANK_SHA + return [] if newrev.blank? || newrev == ::Gitlab::Git::BLANK_SHA strong_memoize("new_blobs_#{newrev}") do wrapped_gitaly_errors do |