diff options
author | Rubén Dávila <ruben@gitlab.com> | 2018-08-09 00:18:37 +0300 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2018-08-09 00:18:37 +0300 |
commit | 6688a719c44ab826bee1ca47b301812bd02cb1a6 (patch) | |
tree | a07645b27d61188c88b7c6cbed28c6105869c6f3 /lib | |
parent | be1ef711edb13114cf6478821293bb2f0821e75c (diff) |
Backport of gitlab-org/gitlab-ee!6848
Diffstat (limited to 'lib')
-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 |