Commit 77295b00b8833bebdaa4e846337fa78101573095
1 parent
a96e0ec5
Exists in
master
and in
4 other branches
Fix the order of clearing a satellite
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/satellite/satellite.rb
| @@ -24,8 +24,8 @@ module Gitlab | @@ -24,8 +24,8 @@ module Gitlab | ||
| 24 | def clear_and_update! | 24 | def clear_and_update! |
| 25 | raise_no_satellite unless exists? | 25 | raise_no_satellite unless exists? |
| 26 | 26 | ||
| 27 | - delete_heads! | ||
| 28 | clear_working_dir! | 27 | clear_working_dir! |
| 28 | + delete_heads! | ||
| 29 | update_from_source! | 29 | update_from_source! |
| 30 | end | 30 | end |
| 31 | 31 |