Re: Add git-archive [take #2]
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 8, 2006, 08:58 UTC
- Message-ID
- <7v64fyivk0.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <45012752.4070300@innova-card.com>
Franck Bui-Huu <vagabon.xyz@gmail.com> writes:
Show 16 quoted lines
> Junio C Hamano wrote: >> Franck Bui-Huu <vagabon.xyz@gmail.com> writes: >>> >>> 2/ Can I remove 'git-upload-tar' command ? >>> 3/ Should I kill 'git-zip-tree' command ? >> >> We do not deprecate commands that easily. Notice we have kept >> git-resolve for a long time (we should remove it and by now it >> should be safe)? > > heh ? I've just noticed that you removed 'git-upload-tar' from > master branch (commit d9edcbd6061a392c1315ab6f3aedb9992a3c01b1). > > Futhermore I was thinking about 'git-zip-tree' removal because > it's a very recent command. It shouldn't hurt to remove it now > and make our life easier, not sure though...
I do not think I removed upload-tar. I removed it from daemon service list and the documentation for daemon, because that part is a new code.
git tar-tree --remote=../linux-2.6/.git HEAD git tar-tree --remote=kernel.org:git next
should still work; the former is "from a directory next door" and connect.c invokes local /bin/sh as the transport, and the latter is "ssh login to kernel.org and use ./git directory".
I recall from earlier review of your code, "git archive" should work well over these two transports in addition to git:// protocol that talks with git-daemon.