diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-05 14:21:00 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-05-05 14:21:00 +0300 |
commit | cac916d974cf12083002d01488dfd3ca8ac2a89a (patch) | |
tree | 1dff2ebe698caab5a12b116ab398982f33d8ec6c /lib | |
parent | f09a1ef81d787962e160af7e56d08bc23af52dd1 (diff) | |
download | gitlab-ce-cac916d974cf12083002d01488dfd3ca8ac2a89a.tar.gz |
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.rb | 1 |
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 |