Warning when checking out some extension repos

Gervase Markham <[email protected]>
Newsgroups gmane.comp.bug-tracking.bugzilla.devel
Message-ID <[email protected]>
Dear Bugzilla team,

If you attempt to check out some of our extension repos, such as:

git clone ssh://[email protected]/bugzilla/extensions/SiteMap.git

you will get this alarming warning:
"Warning: remote HEAD refers to nonexistent ref, unable to checkout"
and you will get what seems like an empty directory.

The repo is actually all there; the error is because these repos don't
have a master branch, and by default git attempts to check it out once
it's downloaded the repo. Do:

git branch -a

and then

git checkout remotes/origin/4.0

(or whatever the name of a branch is)

to get some code.

You could then create a new master branch (presumably based on the most
recent branch or at another sensible spot) and push it so that people
don't have this problem in the future:

git checkout -b master
git push origin master

THBAPSA.

Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla-CzyLcWPZiU5YsZ3hbOqMTti2O/[email protected]
https://lists.mozilla.org/listinfo/dev-apps-bugzilla
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.