Commit ba9624fc authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: git: prevent showing trace when repository path changed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5137 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0ddc7bd1
......@@ -101,7 +101,9 @@ module Redmine
end
def default_branch
branches.include?('master') ? 'master' : branches.first
bras = self.branches
return if bras.nil?
bras.include?('master') ? 'master' : bras.first
end
def entries(path=nil, identifier=nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment