]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Jan 2015 11:47:28 +0000 (11:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 21 Jan 2015 11:47:28 +0000 (11:47 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13928 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/git_adapter.rb

index b12bbea3413e8a7c69c6d95071b08977ac53fd02..4980b4138924f5eeeb1a66b61cef040674ea674e 100644 (file)
@@ -25,7 +25,7 @@ module Redmine
         # Git executable name
         GIT_BIN = Redmine::Configuration['scm_git_command'] || "git"
 
-        class GitBranch < Branch 
+        class GitBranch < Branch
           attr_accessor :is_default
         end
 
@@ -112,7 +112,7 @@ module Redmine
           default_bras = bras.select{|x| x.is_default == true}
           return default_bras.first.to_s if ! default_bras.empty?
           master_bras = bras.select{|x| x.to_s == 'master'}
-          master_bras.empty? ? bras.first.to_s : 'master' 
+          master_bras.empty? ? bras.first.to_s : 'master'
         end
 
         def entry(path=nil, identifier=nil)