[PATCH 0/3] git-daemon: plug new upload-tar command
- From
- Franck Bui-Huu <vagabon.xyz@gmail.com>
- Date
- Aug 31, 2006, 12:35 UTC
- Message-ID
- <11570277231100-git-send-email-vagabon.xyz@gmail.com>
Here's a simple patchset that basically teach git-daemon about the upload-tar command added by Junio's commit:
217542640ed219c980fff2b3c307c4520120f20f
With a patched daemon it's now possible to do:
$ git tar-tree --remote=git://host/path/to/repo HEAD > repo.tar
It also creates a 'service' structure to ease future command integration (like git internal commands handling does). I'm not sure how usefull it will be, but it improves at least code readability.
Something that may be usefull now is to make git-daemon able to compress data it sends back...
Franck ---
builtin-tar-tree.c | 2 + daemon.c | 85 ++++++++++++++++++++++++++++++++++++++++++---------- git.c | 2 + 3 files changed, 71 insertions(+), 18 deletions(-)