summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLibravatar Rene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-09-16 21:20:36 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-17 02:09:31 -0700
commit87af29f09f119c4a4fa7fdf308483ae1abb74b49 (patch)
tree891fa7df0252195354342251147eb60a4f8bd337 /builtin.h
parentgit-archive: inline default_parse_extra() (diff)
downloadtgif-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 'builtin.h')
0 files changed, 0 insertions, 0 deletions