Code

git-archive: add --output=<file> to send output to a file
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>
Mon, 16 Feb 2009 17:20:25 +0000 (18:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Mar 2009 08:56:52 +0000 (00:56 -0800)
commitaec0c1bbfb2d42659bb710bd79f8228ac59e1b0c
treed82e30e8fc402b91c958be030f54f38736f6d5bb
parent734cd5726cf0f16fcbdc2fc121df23814513c420
git-archive: add --output=<file> to send output to a file

When archiving a repository there is no way to specify a file as output.
This patch adds a new option "--output" that redirects the output to a
file instead of stdout.

Signed-off-by: Carlos Manuel Duclos Vergara <carlos.duclos@nokia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-archive.txt
archive.c
t/t5000-tar-tree.sh