hubdrop / development

Submit and track issues with HubDrop.io here.
6 stars 1 forks source link

Mirroring an empty repo causes jenkins job to fail. #13

Open jonpugh opened 10 years ago

jonpugh commented 10 years ago

Noticed Jenkins was failing. Went to look and found some strange messages.

HUBDROP Updating mirror of bedrock
git fetch -p origin
git push --mirror
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'git@github.com:drupalprojects/bedrock.git'

Turns out it's because it is an empty repo, no branches at all.

This is causing jenkins to fail the job. We should probably fix this.