Cloning this module repository using a plain git clone http://git.drupal.org/project/location.git /my/dir fails with

Cloning into /my/dir...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

This is most likely linked to #1074960: Let maintainers set a default branch on git repositories.
Until the latter is resolved this one should remain active.
Alternatively, one could just create a master branch so we can get going...

Comments

Anonymous’s picture

I was able to download it with the command in the Git instructions, git clone --branch 7.x-3.x http://git.drupal.org/project/location.git

Then, when I changed to this branch with git checkout 7.x-4.x, it worked and I was on the 4.x branch.

maxilein’s picture

Issue summary: View changes

Found a solution that worked:

$ git clone --branch 8.x-1.x git://git.drupal.org/sandbox/gregcube/2684493.git

Cloning into '2684493'...
remote: Counting objects: 117, done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 117 (delta 39), reused 0 (delta 0)
Receiving objects: 100% (117/117), 31.05 KiB | 0 bytes/s, done.
Resolving deltas: 100% (39/39), done

maxilein’s picture

Status: Active » Closed (won't fix)