Commit 6688a719 authored by Rubén Dávila's avatar Rubén Dávila
parent be1ef711
......@@ -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
......
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