Private GIT

Skip to content
Snippets Groups Projects
Commit 535fd20d authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fix the non-git source updater

parent 7310f869
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,7 @@ class GitUpdateManager(UpdateManager):
branch_info = self._run_git('symbolic-ref -q HEAD')
if not branch_info:
if not branch_info or not branch_info[0]:
return 'master'
branch = branch_info[0].strip().replace('refs/heads/', '', 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment