Add git-upload-archive
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Thu, 7 Sep 2006 13:12:05 +0000 (15:12 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 9 Sep 2006 18:57:37 +0000 (11:57 -0700)
commit39345a216ff37bda9fb7cec85f6de44069f5205d
treee1c6cb5d354001cc9a7cd9df5748ee059a874bb5
parentec06bff5e6f76b46c22a3b2c97452568f088fa3c
Add git-upload-archive

This command implements the git archive protocol on the server
side. This command is not intended to be used by the end user.
Underlying git-archive command line options are sent over the
protocol from "git-archive --remote=...", just like upload-tar
currently does with "git-tar-tree=...".

As for "git-archive" command implementation, this new command
does not execute any existing "git-{tar,zip}-tree" but rely
on the archive API defined by "git-archive" patch. Hence we
get 2 good points:

 - "git-archive" and "git-upload-archive" share all option
   parsing code.

 - All kind of git-upload-{tar,zip} can be deprecated.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
.gitignore
Documentation/git-upload-archive.txt [new file with mode: 0644]
Makefile
builtin-upload-archive.c [new file with mode: 0644]
builtin.h
daemon.c
git.c