summaryrefslogtreecommitdiff
path: root/lib/oxidized/output
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2015-09-14 11:31:20 +0300
committerSaku Ytti <saku@ytti.fi>2015-09-14 11:31:20 +0300
commit969f7d05d9e7cac44ce67d5c12dbbbe7c547bcc4 (patch)
tree46a6f446cfc4b2555235c943b2a4b1d81cef51a0 /lib/oxidized/output
parent3c1c5106ccc3e45d9ab791458a53a252497d0203 (diff)
parent0b6530bdcb228ce295a1dca9c427a44fa7497698 (diff)
Merge branch 'master' of github.com:ytti/oxidized0.8.0
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r--lib/oxidized/output/git.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index e568a58..3757cfc 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -19,6 +19,7 @@ class Git < Output
CFGS.save :user
raise NoConfig, 'no output git config, edit ~/.config/oxidized/config'
end
+ @cfg.repo = File.expand_path @cfg.repo
end
def store file, outputs, opt={}
@@ -26,7 +27,7 @@ class Git < Output
@user = (opt[:user] or @cfg.user)
@email = (opt[:email] or @cfg.email)
@opt = opt
- repo = File.expand_path @cfg.repo
+ repo = @cfg.repo
outputs.types.each do |type|
type_cfg = ''