@@ -319,7 +319,7 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 |
|
322 | full_args = [GIT_BIN, '--git-dir', repo_path] | |
323 | full_args += args |
|
323 | full_args += args | |
324 | ret = shellout(full_args.map { |e| shell_quote e.to_s }.join(' '), &block) |
|
324 | ret = shellout(full_args.map { |e| shell_quote e.to_s }.join(' '), &block) | |
325 | if $? && $?.exitstatus != 0 |
|
325 | if $? && $?.exitstatus != 0 |
General Comments 0
You need to be logged in to leave comments.
Login now