author | Lars Hjemli <hjemli@gmail.com> | |
Fri, 11 May 2007 16:55:21 +0000 (18:55 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 12 May 2007 16:35:07 +0000 (09:35 -0700) | ||
commit | 02851e0b9ed840c2e6881dd56072eefc17c8b98b | |
tree | a0ccc46ca44cfa4f23f0eaa8c60b00fb991318bb | tree | snapshot |
parent | 2206537c07973fc2933092313d95340e076440e4 | commit | diff |
git-archive: don't die when repository uses subprojects
Both archive-tar and archive-zip needed to be taught about subprojects.
The tar function died when trying to read the subproject commit object,
while the zip function reported "unsupported file mode".
This fixes both by representing the subproject as an empty directory.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Both archive-tar and archive-zip needed to be taught about subprojects.
The tar function died when trying to read the subproject commit object,
while the zip function reported "unsupported file mode".
This fixes both by representing the subproject as an empty directory.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
archive-tar.c | diff | blob | history | |
archive-zip.c | diff | blob | history |