]> source.dussan.org Git - redmine.git/commitdiff
fix stderr_log_file and strip_credential of Redmine::Scm::Adapters::AbstractAdapter...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 11:15:30 +0000 (11:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 11:15:30 +0000 (11:15 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18757 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 83d41c22a80ee889f4b10bc06964e3675c5b59f1..c4496142a7abe205f624aa566615dc5b6211c419 100644 (file)
@@ -232,6 +232,7 @@ module Redmine
           end
           @stderr_log_file || nil
         end
+        private_class_method :stderr_log_file
 
         def self.shellout(cmd, options = {}, &block)
           if logger && logger.debug?
@@ -267,6 +268,7 @@ module Redmine
           q = (Redmine::Platform.mswin? ? '"' : "'")
           cmd.to_s.gsub(/(\-\-(password|username))\s+(#{q}[^#{q}]+#{q}|[^#{q}]\S+)/, '\\1 xxxx')
         end
+        private_class_method :strip_credential
 
         def strip_credential(cmd)
           self.class.strip_credential(cmd)