diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-04-11 16:25:01 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-15 13:21:51 -0700 |
commit | d57e490af31dff940052a5929fe05947c7ad03ad (patch) | |
tree | 50b0f9c0911659f188ebe151cd2232268bf7710b /compat | |
parent | Git 1.7.10 (diff) | |
download | tgif-d57e490af31dff940052a5929fe05947c7ad03ad.tar.xz |
fast-import doc: cat-blob and ls responses need to be consumed quickly
If fast-import's command pipe and the frontend's cat-blob/ls response
pipe are both filled, there can be a deadlock. Luckily all existing
frontends consume any pending cat-blob/ls responses completely before
writing the next command.
Document the requirements so future frontend authors and users can be
spared from the problem, too. It is not always easy to catch that
kind of bug by testing.
To set the scene, add some words of explanation to help the novice
understand that "cat-blob" and "ls" output are meant for consumption
by the frontend.
Reported-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions