diff options
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 8dd4619e8..b25331ddb 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -394,6 +394,8 @@ module Redmine end end + private + def git_cmd(args, options = {}, &block) repo_path = root_url || url full_args = ['--git-dir', repo_path] @@ -412,7 +414,6 @@ module Redmine end ret end - private :git_cmd end end end |