lib/fulmar/infrastructure/service/git_service.rb in fulmar-1.5.0 vs lib/fulmar/infrastructure/service/git_service.rb in fulmar-1.5.1

- old
+ new

@@ -27,10 +27,10 @@ else 'master' end end - @git = Rugged::Repository.new(@config[:local_path]) # :log => Logger.new(STDOUT) + @git = Rugged::Repository.new(@config[:git_path].blank? ? @config[:local_path] : @config[:git_path]) # :log => Logger.new(STDOUT) end def branches @git.branches.collect(&:name) end