summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-05-06 13:26:29 +0300
committerSaku Ytti <saku@ytti.fi>2016-05-06 13:26:29 +0300
commitfa03cc5b59015418064c2e4c707fe4ec2491aecf (patch)
treeae28f6fc93fc8f9e810219996203ad451b06f85b
parentee1c9e0c78884a38c486a67adc0f6ad83c2f53b1 (diff)
fixes #413
-rw-r--r--lib/oxidized/output/git.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index 3678126..39e155e 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -105,6 +105,8 @@ class Git < Output
repo = @cfg.repo
if group && group != '' && !@cfg.single_repo?
repo = File.join File.dirname(repo), group + '.git'
+ elsif group
+ node = File.join group, node
end
repo = Rugged::Repository.new repo
repo.blob_at(oid,node).content