Commit 05092b27 authored by Felix Schäfer's avatar Felix Schäfer

Merge pull request #139 from esmarkowski/patch-1

[#761] Fix quotation of since date in git adapter
parents 94f7bef2 b264a8ee
...@@ -176,7 +176,7 @@ module Redmine ...@@ -176,7 +176,7 @@ module Redmine
from_to << "#{identifier_from}.." if identifier_from from_to << "#{identifier_from}.." if identifier_from
from_to << "#{identifier_to}" if identifier_to from_to << "#{identifier_to}" if identifier_to
cmd_args << from_to if !from_to.empty? cmd_args << from_to if !from_to.empty?
cmd_args << "--since=#{options[:since].strftime("%Y-%m-%d %H:%M:%S")}" if options[:since] cmd_args << "--since='#{options[:since].strftime("%Y-%m-%d %H:%M:%S")}'" if options[:since]
cmd_args << "--" << scm_iconv(@path_encoding, 'UTF-8', path) if path && !path.empty? cmd_args << "--" << scm_iconv(@path_encoding, 'UTF-8', path) if path && !path.empty?
scm_cmd *cmd_args do |io| scm_cmd *cmd_args do |io|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment