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:
authorRubén Dávila <rdavila84@gmail.com>2016-02-11 02:02:46 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-02-19 21:14:53 +0300
commitb8295fc3232a3d9ca2af524225f9a66ab7735926 (patch)
tree8f8d9109dff563618bdaa585c17305ddff8d8133 /app/models/repository.rb
parentccd2a8d6b577e9a5a0ea3a350e6bc039550bc1ae (diff)
Fix build and add specs
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index e53daff2c8f..d98277fc257 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -642,8 +642,7 @@ class Repository
committer: committer,
tree: revert_index.write_tree(rugged),
parents: [rugged.lookup(source_sha)],
- update_ref: ref
- )
+ update_ref: ref)
end
end