[PATCH] clone-pack.c:write_one_ref() - Create leading directories.
authorJunio C Hamano <junkio@cox.net>
Wed, 6 Jul 2005 08:11:52 +0000 (01:11 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 17:39:58 +0000 (10:39 -0700)
commitb2cb94254be7bf8b44c851897dd29a00ce654e3c
tree350b5b896310eb41ce6786176727a1bc22ef2350
parentff9206e72c71aa2e51c7cbee911f47b5838a5845
[PATCH] clone-pack.c:write_one_ref() - Create leading directories.

The function write_one_ref() is passed the list of refs received
from the other end, which was obtained by directory traversal
under $GIT_DIR/refs; this can contain paths other than what
git-init-db prepares and would fail to clone when there is
such.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h
clone-pack.c
sha1_file.c