Encloses since date in single quotes. This was causing git to respond with fatal: Unknown Object and preventing revisions from being updated.

This commit is contained in:
Spencer Markowski 2011-12-08 23:51:15 -05:00
parent d943efd0eb
commit b264a8ee3f
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ module Redmine
from_to << "#{identifier_from}.." if identifier_from
from_to << "#{identifier_to}" if identifier_to
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?
scm_cmd *cmd_args do |io|