Merge branch 'jk/allow-fetch-onelevel-refname'
commitf583ace15762e2f9f68ccfcf0ec0e0527b2a899d
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Jan 2014 18:44:13 +0000 (27 10:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Jan 2014 18:44:14 +0000 (27 10:44 -0800)
tree20e6d8713acc48a294d445260fffd8603736bca9
parent63763273de8cc7c928d4e8bae4795f84c9deabd4
parent4c224081118ac27ea62cb249bd95e66cba652483
Merge branch 'jk/allow-fetch-onelevel-refname'

"git clone" would fail to clone from a repository that has a ref
directly under "refs/", e.g. "refs/stash", because different
validation paths do different things on such a refname.  Loosen the
client side's validation to allow such a ref.

* jk/allow-fetch-onelevel-refname:
  fetch-pack: do not filter out one-level refs
fetch-pack.c
t/t5510-fetch.sh