Merge branch 'jk/clone-detached'

* jk/clone-detached: clone: always fetch remote HEAD make copy_ref globally available consider only branches in guess_remote_head t: add tests for cloning remotes with detached HEAD

Junio C Hamano committed Aug 1, 2011 at 15:00 UTC 8ab19bc5de68c8929317f8aa694709b9e4b72956

No changes.