diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/output/git.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index df76da3..2b86f3f 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -34,6 +34,10 @@ class Git < Output outputs.type(type).each do |output| (type_cfg << output; next) if not output.name type_file = file + '--' + output.name + if @cfg.type_as_directory? + type_file = type + '/' + type_file + type_repo = repo + end update type_repo, type_file, output end update type_repo, file, type_cfg unless type_cfg.empty? |