1
0
Fork 0
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:
Marian Zange 2014-06-25 15:26:48 +02:00
parent 64d69f6dfe
commit 0e66fb5220

View file

@ -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)