summaryrefslogtreecommitdiff
path: root/lib/oxidized/output/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/output/git.rb')
-rw-r--r--lib/oxidized/output/git.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index 2b86f3f..d0083f5 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -43,7 +43,8 @@ class Git < Output
update type_repo, file, type_cfg unless type_cfg.empty?
end
- update repo, file, outputs.to_cfg
+ output = outputs.to_cfg
+ update repo, file, output unless output.empty?
end