Merge pull request #139 from esmarkowski/patch-1
[#761] Fix quotation of since date in git adapter
This commit is contained in:
commit
05092b2737
|
@ -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|
|
||||||
|
|
Loading…
Reference in New Issue