projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb1af2d
)
Add comment on what send-pack still needs to do
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 06:07:01 +0000
(23:07 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 06:07:01 +0000
(23:07 -0700)
Me tired.
send-pack.c
patch
|
blob
|
history
diff --git
a/send-pack.c
b/send-pack.c
index f8163b7cbb2c1a279fea8419fcc551b49358434d..ca3eabbd7f69a6ce2fef93c4dadb7287aaea65cd 100644
(file)
--- 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;
}