Commit b264a8ee authored by Spencer Markowski's avatar Spencer Markowski

Encloses since date in single quotes. This was causing git to respond with…

Encloses since date in single quotes. This was causing git to respond with fatal: Unknown Object and preventing revisions from being updated. 
parent d943efd0
...@@ -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