summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-17 14:28:59 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-17 14:28:59 +0300
commite803e3f26f771b8e424d251951c88892858cb6b1 (patch)
tree0c81ac744cae4d73322bfcbaaa9275708d3fb077 /app/models/commit.rb
parentcca6ded9fd1874863a265ca4d96c243e637ec3de (diff)
downloadgitlab-ci-e803e3f26f771b8e424d251951c88892858cb6b1.tar.gz
cleanup build model
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 5f1aa92..6817a9e 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -117,7 +117,6 @@ class Commit < ActiveRecord::Base
build.tag_list = job.tag_list
build.project_id = project_id
build.job = job
- build.ref = ref
build.save
build
end