##// END OF EJS Templates
git: allow overriding default master branch with an env variable.
super-admin -
r4754:23c64cf2 tip default
parent child
Show More
@@ -54,7 +54,7 class GitRepository(BaseRepository):
54 54 """
55 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 59 contact = BaseRepository.DEFAULT_CONTACT
60 60
General Comments 0
You need to be logged in to leave comments. Login now