remove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13928 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2015-01-21 11:47:28 +00:00
parent 6097e247f4
commit 4dbdff1479

View 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)