summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 23:07:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 23:07:01 -0700
commit56b6ed8881f3504b686a254cccdb5aa1a1a9e925 (patch)
treed0660178be79fbd02c95afac32f2a7475e3e3bfa /send-pack.c
parenteb1af2df0b1a766a591f1e3ab6f647a617330520 (diff)
downloadgit-56b6ed8881f3504b686a254cccdb5aa1a1a9e925.tar.gz
Add comment on what send-pack still needs to do
Me tired.
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/send-pack.c b/send-pack.c
index f8163b7cbb..ca3eabbd7f 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;
}