Make sure leading directories exist when pushing refs.
authorJunio C Hamano <junkio@cox.net>
Wed, 3 Aug 2005 01:27:57 +0000 (18:27 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Aug 2005 05:52:58 +0000 (22:52 -0700)
commit29f3b3de99a9dc08b6ef6946cafaa559a7b4f725
treef1c181deb4afa02898ee264078521f02d69fd56d
parent19614330ddaf02367a7faf2ff5e09f1f39fd63c4
Make sure leading directories exist when pushing refs.

It does not matter if the only refs you push are directly
underneath heads and tags, but we forgot to make sure we have
leading directories so pushing tags/v0.99/1 would not have
worked.

Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c