##// END OF EJS Templates
scm: git: change core.quotepath = true temporarily to run git command (#5251)....
Toshi MARUYAMA -
r4905:90d4447bd312
parent child
Show More
@@ -319,7 +319,8 module Redmine
319
319
320 def scm_cmd(*args, &block)
320 def scm_cmd(*args, &block)
321 repo_path = root_url || url
321 repo_path = root_url || url
322 full_args = [GIT_BIN, '--git-dir', repo_path, '-c', 'core.quotepath=false']
322 # full_args = [GIT_BIN, '--git-dir', repo_path, '-c', 'core.quotepath=false']
323 full_args = [GIT_BIN, '--git-dir', repo_path, '-c', 'core.quotepath=true']
323 full_args += args
324 full_args += args
324 ret = shellout(full_args.map { |e| shell_quote e.to_s }.join(' '), &block)
325 ret = shellout(full_args.map { |e| shell_quote e.to_s }.join(' '), &block)
325 if $? && $?.exitstatus != 0
326 if $? && $?.exitstatus != 0
General Comments 0
You need to be logged in to leave comments. Login now