From 56b6ed8881f3504b686a254cccdb5aa1a1a9e925 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 29 Jun 2005 23:07:01 -0700 Subject: [PATCH] Add comment on what send-pack still needs to do Me tired. --- send-pack.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/send-pack.c b/send-pack.c index f8163b7cb..ca3eabbd7 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; } -- 2.26.2