Add comment on what send-pack still needs to do
Me tired.
This commit is contained in:
11
send-pack.c
11
send-pack.c
@ -79,6 +79,17 @@ static int send_pack(int in, int out)
|
|||||||
}
|
}
|
||||||
|
|
||||||
packet_flush(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);
|
close(out);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user