From: Linus Torvalds Date: Thu, 30 Jun 2005 06:07:01 +0000 (-0700) Subject: Add comment on what send-pack still needs to do X-Git-Tag: v0.99~108 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=56b6ed8881f3504b686a254cccdb5aa1a1a9e925;p=git.git Add comment on what send-pack still needs to do Me tired. --- diff --git a/send-pack.c b/send-pack.c index f8163b7c..ca3eabbd 100644 --- a/send-pack.c +++ b/send-pack.c @@ -79,6 +79,17 @@ static int send_pack(int in, int out) } packet_flush(out); + /* + * FIXME! Here we need to now send the pack-file to the "out" fd, using something + * like this: + * + * fork() + + * dup2(out, 1) + + * execve("/bin/sh git-rev-list --objects ..for-each-ref-list.. | " + * "git-pack-objects --stdout"); + * + * but I'm too tired right now. + */ close(out); return 0; }