refs.c: make sure leading directories exist before writing a ref.
authorJunio C Hamano <junkio@cox.net>
Thu, 8 Dec 2005 01:48:53 +0000 (17:48 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 8 Dec 2005 01:48:53 +0000 (17:48 -0800)
commit64224caf888253601b7285ab242f4a12779894b9
tree168de787ba3f4847c45353d386b069d3da6872d7
parent361c06d8f5777c1037ad5c0e4d58f44cda4a5044
refs.c: make sure leading directories exist before writing a ref.

Otherwise cloning a repository with hierarchical branch/tag
over http would fail.

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