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