summaryrefslogtreecommitdiff
path: root/Documentation/git-annotate.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-06-20 18:26:34 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-21 02:34:14 -0700
commitb1c71b72815cb82a8bad14020a047320b88a04eb (patch)
treeb30437f3d0cba446ae96105339a23a416f512ba7 /Documentation/git-annotate.txt
parentFix possible out-of-bounds array access (diff)
downloadtgif-b1c71b72815cb82a8bad14020a047320b88a04eb.tar.xz
upload-pack: avoid sending an incomplete pack upon failure
When the repository on the remote side is corrupted, rev-list spawned from upload-pack would die with error, but pack-objects that reads from the rev-list happily created a packfile that can be unpacked by the downloader. When this happens, the resulting packfile is not corrupted and unpacks cleanly, but the list of the objects contained in it is not what the protocol exchange computed. This update makes upload-pack to monitor its subprocesses, and when either of them dies with error, sends an incomplete pack data to the downloader to cause it to fail. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-annotate.txt')
0 files changed, 0 insertions, 0 deletions