Merge branch 'jk/clone-detached'
commit8ab19bc5de68c8929317f8aa694709b9e4b72956
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2011 22:00:35 +0000 (1 15:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2011 22:00:35 +0000 (1 15:00 -0700)
tree2b17acb16a898e2f135f8e8e6565898c996569ab
parentb04f826bf6e1b55e5bffdef5aedc83c202569f60
parentc1921c184c464e313308e4ef58e28ca78a5b2127
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
builtin/clone.c