##// END OF EJS Templates
git: allow overriding default master branch with an env variable.
super-admin -
r4754:23c64cf2 default
parent child Browse files
Show More
@@ -54,7 +54,7 b' class GitRepository(BaseRepository):'
54 """
54 """
55 Git repository backend.
55 Git repository backend.
56 """
56 """
57 DEFAULT_BRANCH_NAME = 'master'
57 DEFAULT_BRANCH_NAME = os.environ.get('GIT_DEFAULT_BRANCH_NAME') or 'master'
58
58
59 contact = BaseRepository.DEFAULT_CONTACT
59 contact = BaseRepository.DEFAULT_CONTACT
60
60
General Comments 0
You need to be logged in to leave comments. Login now