From fa03cc5b59015418064c2e4c707fe4ec2491aecf Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 6 May 2016 13:26:29 +0300 Subject: fixes #413 --- lib/oxidized/output/git.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1