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
path: root/lib
diff options
context:
space:
mode:
authormurank <murank42@gmail.com>2013-03-17 18:50:20 +0400
committermurank <murank42@gmail.com>2013-03-17 18:50:20 +0400
commit77295b00b8833bebdaa4e846337fa78101573095 (patch)
tree8b488d1436e8ddf1ba67be848e571bdc35c18e45 /lib
parenta96e0ec57ef6ae129a1adb54e5b9b67d8ffb04b3 (diff)
Fix the order of clearing a satellite
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/satellite/satellite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb
index e7f7a7673b5..668de75f663 100644
--- a/lib/gitlab/satellite/satellite.rb
+++ b/lib/gitlab/satellite/satellite.rb
@@ -24,8 +24,8 @@ module Gitlab
def clear_and_update!
raise_no_satellite unless exists?
- delete_heads!
clear_working_dir!
+ delete_heads!
update_from_source!
end