Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-18 18:08:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-18 18:08:03 +0300
commitccf37fd3eca15cd5f55c1eba3b28d2798808d357 (patch)
tree925471acb29c7cc080a522b1d2db6b06e55616dd /lib/gitlab/git.rb
parent79d62647bcfad69d7272020acb7d8be5ee5df003 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/git.rb')
-rw-r--r--lib/gitlab/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/git.rb b/lib/gitlab/git.rb
index 8d13c74dca2..c58fb1d0be3 100644
--- a/lib/gitlab/git.rb
+++ b/lib/gitlab/git.rb
@@ -88,6 +88,7 @@ module Gitlab
end
def shas_eql?(sha1, sha2)
+ return true if sha1.nil? && sha2.nil?
return false if sha1.nil? || sha2.nil?
return false unless sha1.class == sha2.class