aboutsummaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-09-16 21:20:36 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-17 02:09:31 -0700
commit87af29f09f119c4a4fa7fdf308483ae1abb74b49 (patch)
tree891fa7df0252195354342251147eb60a4f8bd337 /fetch-pack.c
parent2232c0c69ff114a23011a0698b119aeea0272e8b (diff)
downloadgit-87af29f09f119c4a4fa7fdf308483ae1abb74b49.tar.gz
git-87af29f09f119c4a4fa7fdf308483ae1abb74b49.tar.xz
git-tar-tree: devolve git-tar-tree into a wrapper for git-archive
This patch removes the custom tree walker tree_traverse(), and makes generate_tar() use write_tar_archive() and the infrastructure provided by git-archive instead. As a kind of side effect, make write_tar_archive() able to handle NULL as base directory, as this is what the new and simple generate_tar() uses to indicate the absence of a base directory. This was simpler and cleaner than playing tricks with empty strings. The behaviour of git-tar-tree should be unchanged (quick tests didn't indicate otherwise) except for the text of some error messages. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions