mirror of
https://github.com/clockfort/GitHub-Backup.git
synced 2025-03-16 00:00:06 +01:00
Use 'default_branch' instead of 'master_branch'
This commit is contained in:
parent
64d69f6dfe
commit
0e66fb5220
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def update_repo(repo, dir, args):
|
|||
os.system("git config --local gitweb.owner %s"%(shell_escape("%s <%s>"%(repo.user.name, repo.user.email.encode("utf-8"))),))
|
||||
|
||||
os.system("git config --local cgit.name %s"%(shell_escape(repo.name),))
|
||||
os.system("git config --local cgit.defbranch %s"%(shell_escape(repo.master_branch),))
|
||||
os.system("git config --local cgit.defbranch %s"%(shell_escape(repo.default_branch),))
|
||||
os.system("git config --local cgit.clone-url %s"%(shell_escape(repo.clone_url),))
|
||||
|
||||
os.chdir(savedPath)
|
||||
|
|
Loading…
Add table
Reference in a new issue