diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-05 22:02:11 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-12-05 23:19:27 -0800 |
commit | e96fd232a628e9f5f008936b5db645412e33cfef (patch) | |
tree | f3694019bc8487f6e212ce16d42a6066fab03977 /lib | |
parent | fa3528ee5a0cedf10a05035ce5c713c3fea0ec6f (diff) | |
download | gitlab-ce-e96fd232a628e9f5f008936b5db645412e33cfef.tar.gz |
Remove unnecessary includes of ShellAdapter
Determined by running the script:
```
included = `git grep --name-only ShellAdapter`.chomp.split("\n")
used = `git grep --name-only gitlab_shell`.chomp.split("\n")
included - used
```
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/bitbucket_server_import/importer.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/import_export/repo_restorer.rb | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/bitbucket_server_import/importer.rb b/lib/gitlab/bitbucket_server_import/importer.rb index d4080536d81..28cfb46e2d4 100644 --- a/lib/gitlab/bitbucket_server_import/importer.rb +++ b/lib/gitlab/bitbucket_server_import/importer.rb @@ -3,8 +3,6 @@ module Gitlab module BitbucketServerImport class Importer - include Gitlab::ShellAdapter - attr_reader :recover_missing_commits attr_reader :project, :project_key, :repository_slug, :client, :errors, :users attr_accessor :logger diff --git a/lib/gitlab/import_export/repo_restorer.rb b/lib/gitlab/import_export/repo_restorer.rb index 921a06b4023..91167a9c4fb 100644 --- a/lib/gitlab/import_export/repo_restorer.rb +++ b/lib/gitlab/import_export/repo_restorer.rb @@ -4,7 +4,6 @@ module Gitlab module ImportExport class RepoRestorer include Gitlab::ImportExport::CommandLineUtil - include Gitlab::ShellAdapter def initialize(project:, shared:, path_to_bundle:) @project = project |