git: allow overriding default master branch with an env variable.
This commit is contained in:
parent
57eecdce7f
commit
ce7e048a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class GitRepository(BaseRepository):
|
|||
"""
|
||||
Git repository backend.
|
||||
"""
|
||||
DEFAULT_BRANCH_NAME = 'master'
|
||||
DEFAULT_BRANCH_NAME = os.environ.get('GIT_DEFAULT_BRANCH_NAME') or 'master'
|
||||
|
||||
contact = BaseRepository.DEFAULT_CONTACT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue