summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-01-21 11:47:28 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2015-01-21 11:47:28 +0000
commit4dbdff1479ebf5a105d2bc5b71a1e602b5276469 (patch)
tree440ca379c67de2baa227a8ee06d1f648efec7be8 /lib/redmine/scm
parent6097e247f4a6d305fb674f9035799a0b67d13fd1 (diff)
downloadredmine-4dbdff1479ebf5a105d2bc5b71a1e602b5276469.tar.gz
redmine-4dbdff1479ebf5a105d2bc5b71a1e602b5276469.zip
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
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r--lib/redmine/scm/adapters/git_adapter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb
index b12bbea34..4980b4138 100644
--- a/lib/redmine/scm/adapters/git_adapter.rb
+++ b/lib/redmine/scm/adapters/git_adapter.rb
@@ -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)