author | Junio C Hamano <junkio@cox.net> | |
Wed, 6 Jul 2005 08:11:52 +0000 (01:11 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Wed, 6 Jul 2005 17:39:58 +0000 (10:39 -0700) | ||
commit | b2cb94254be7bf8b44c851897dd29a00ce654e3c | |
tree | 350b5b896310eb41ce6786176727a1bc22ef2350 | tree | snapshot |
parent | ff9206e72c71aa2e51c7cbee911f47b5838a5845 | commit | diff |
[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>
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 | diff | blob | history | |
clone-pack.c | diff | blob | history | |
sha1_file.c | diff | blob | history |