Code

archive: provide builtin .tar.gz filter
authorJeff King <peff@peff.net>
Wed, 22 Jun 2011 01:27:35 +0000 (21:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2011 18:12:35 +0000 (11:12 -0700)
commit0e804e09938905ed4fe6984f832057267cc5d86f
tree1a3e8a37bc1324eecf2a4b73acd66576690ef295
parent767cf4579f0e34a3cfc6704d5c313842321dfafa
archive: provide builtin .tar.gz filter

This works exactly as if the user had configured it via:

  [tar "tgz"]
command = gzip -cn
  [tar "tar.gz"]
command = gzip -cn

but since it is so common, it's convenient to have it
builtin without the user needing to do anything.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-archive.txt
archive-tar.c
t/t5000-tar-tree.sh