lib/docman/git_util.rb in docman-0.0.78 vs lib/docman/git_util.rb in docman-0.0.79

- old
+ new

@@ -7,10 +7,11 @@ @logger = Logger.new(STDOUT) @git = ENV.has_key?('GIT_CMD') ? ENV['GIT_CMD'] : 'git' def self.exec(command, show_result = true) @logger.info "#{@git} #{command}" - result = `#{@git} #{command}`.delete!("\n") + result = `#{@git} #{command}` + #result = `#{@git} #{command}`.delete!("\n") @logger.info result if show_result and result raise "ERROR: #{result}" unless $?.exitstatus == 0 result end \ No newline at end of file