Merge branch 'jk/allow-fetch-onelevel-refname' into maint
commitc337684842e37d2422aa75b04ca1a3ee6d4a8ef0
authorJunio C Hamano <gitster@pobox.com>
Thu, 13 Feb 2014 21:38:34 +0000 (13 13:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Feb 2014 21:38:34 +0000 (13 13:38 -0800)
tree882018e8141e0abfe625832b3cebab0f406925b4
parent21261fabdde83514ddac0bbba96fdeb83a5c2363
parent4c224081118ac27ea62cb249bd95e66cba652483
Merge branch 'jk/allow-fetch-onelevel-refname' into maint

"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