From 1b02ee12f36f9ab83d94e4b01fcb79bf4219f63b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 21 Nov 2019 05:38:24 +0000 Subject: cleanup: rubocop: fix Style/AccessModifierDeclarations in lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19119 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/git_adapter.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3