diff options
author | Saku Ytti <saku@ytti.fi> | 2014-08-14 12:46:38 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-08-14 12:46:38 +0300 |
commit | 3d8996fa59713c4068d78cf796300091e88691a3 (patch) | |
tree | 30cebeec8c4cea336034fbb10ea087f60b7a81ed | |
parent | 70d2fc8d3f97bce4f2b540600f410fc207dc5c13 (diff) |
don't commit empty type configs
-rw-r--r-- | lib/oxidized/output/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index d0083f5..e7725f9 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -38,7 +38,7 @@ class Git < Output type_file = type + '/' + type_file type_repo = repo end - update type_repo, type_file, output + update type_repo, type_file, output unless output.empty? end update type_repo, file, type_cfg unless type_cfg.empty? end |