summaryrefslogtreecommitdiff
path: root/app/models/ci/commit.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 17:57:04 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 18:02:32 +0100
commitc9ac38a074423b30b5627553bfdbf0ba15737d8e (patch)
tree707d4326200cbdb6c93b5647e55351582bceda85 /app/models/ci/commit.rb
parent1c0683da7b593bb12e37d46e89a0764a93a0da95 (diff)
downloadgitlab-ce-c9ac38a074423b30b5627553bfdbf0ba15737d8e.tar.gz
Use Gitlab::Git instead of Ci::Git
Diffstat (limited to 'app/models/ci/commit.rb')
-rw-r--r--app/models/ci/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/commit.rb b/app/models/ci/commit.rb
index 79193344545..d2a29236942 100644
--- a/app/models/ci/commit.rb
+++ b/app/models/ci/commit.rb
@@ -53,7 +53,7 @@ module Ci
end
def valid_commit_sha
- if self.sha == Ci::Git::BLANK_SHA
+ if self.sha == Gitlab::Git::BLANK_SHA
self.errors.add(:sha, " cant be 00000000 (branch removal)")
end
end