1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-01 06:47:52 +01:00
git/Documentation/technical
Erik Faye-Lund ae6a5609c0 run-command: support custom fd-set in async
This patch adds the possibility to supply a set of non-0 file
descriptors for async process communication instead of the
default-created pipe.

Additionally, we now support bi-directional communiction with the
async procedure, by giving the async function both read and write
file descriptors.

To retain compatiblity and similar "API feel" with start_command,
we require start_async callers to set .out = -1 to get a readable
file descriptor.  If either of .in or .out is 0, we supply no file
descriptor to the async process.

[sp: Note: Erik started this patch, and a huge bulk of it is
     his work.  All bugs were introduced later by Shawn.]

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-02-05 20:57:22 -08:00
..
.gitignore
api-allocation-growing.txt
api-builtin.txt Documentation: fix a grammatical error in api-builtin.txt 2009-04-27 09:36:40 -07:00
api-decorate.txt
api-diff.txt
api-directory-listing.txt
api-gitattributes.txt
api-grep.txt
api-hash.txt technical-docs: document hash API 2009-12-17 21:54:50 -08:00
api-history-graph.txt Documentation: undocument gc'd function graph_release() 2009-11-19 23:05:17 -08:00
api-in-core-index.txt
api-index-skel.txt
api-index.sh
api-lockfile.txt
api-object-access.txt
api-parse-options.txt parse-opts: add OPT_FILENAME and transition builtins 2009-05-25 01:07:33 -07:00
api-quote.txt
api-remote.txt technical/api-remote: Describe new struct remote member pushurl 2009-06-09 23:46:47 -07:00
api-revision-walking.txt
api-run-command.txt run-command: support custom fd-set in async 2010-02-05 20:57:22 -08:00
api-setup.txt
api-strbuf.txt api-strbuf.txt: fix typos and document launch_editor() 2009-12-17 21:54:28 -08:00
api-string-list.txt
api-tree-walking.txt technical-docs: document tree-walking API 2009-08-03 22:42:14 -07:00
api-xdiff-interface.txt
pack-format.txt
pack-heuristics.txt
pack-protocol.txt Update packfile transfer protocol documentation 2009-11-13 12:07:21 -08:00
protocol-capabilities.txt Update packfile transfer protocol documentation 2009-11-13 12:07:21 -08:00
protocol-common.txt Update packfile transfer protocol documentation 2009-11-13 12:07:21 -08:00
racy-git.txt racy-git.txt: explain nsec problem in more detail 2009-10-09 14:56:32 -07:00
send-pack-pipeline.txt
shallow.txt
trivial-merge.txt