Commit c0e56943 authored by Eloy Durán's avatar Eloy Durán

[UI] Only collect repo info from FS providers.

parent 2d069029
......@@ -87,7 +87,8 @@ EOS
def repo_information
SourcesManager.all.map do |source|
repo = source.repo
next unless source.type == 'file system'
repo = source.data_provider.repo
Dir.chdir(repo) do
url = `git config --get remote.origin.url 2>&1`.strip
sha = `git rev-parse HEAD 2>&1`.strip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment