diff options
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r-- | lib/oxidized/output/git.rb | 2 |
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 |