summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-05-20 00:18:55 +0300
committerSaku Ytti <saku@ytti.fi>2016-05-20 00:18:55 +0300
commit55f78455d19ac05e8a6d111eca367952d42629d9 (patch)
tree977e50b672ed9ea3c777eea0f30ea4de0d4db03d
parente95cd26ee592f2812a12aa170487db1ec427cfb1 (diff)
fixes #423
-rw-r--r--lib/oxidized/output/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index 1e32a5e..9bd8d94 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -112,7 +112,7 @@ class Git < Output
repo = @cfg.repo
if group && group != '' && !@cfg.single_repo?
repo = File.join File.dirname(repo), group + '.git'
- elsif group
+ elsif group && group != ''
node = File.join group, node
end
repo = Rugged::Repository.new repo