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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-05 15:21:00 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-05 15:21:00 +0400
commitcac916d974cf12083002d01488dfd3ca8ac2a89a (patch)
tree1dff2ebe698caab5a12b116ab398982f33d8ec6c /lib
parentf09a1ef81d787962e160af7e56d08bc23af52dd1 (diff)
Clean working directory in satellite
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/satellite/satellite.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb
index c6e4d3351cf..05123ad9c41 100644
--- a/lib/gitlab/satellite/satellite.rb
+++ b/lib/gitlab/satellite/satellite.rb
@@ -84,6 +84,7 @@ module Gitlab
# Clear the working directory
def clear_working_dir!
repo.git.reset(hard: true)
+ repo.git.clean(f: true, d: true, x: true)
end
# Deletes all branches except the parking branch