summaryrefslogtreecommitdiff
path: root/Documentation/cvs-migration.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-21 01:26:34 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-21 09:34:14 (GMT)
commitb1c71b72815cb82a8bad14020a047320b88a04eb (patch)
treeb30437f3d0cba446ae96105339a23a416f512ba7 /Documentation/cvs-migration.txt
parentbb9e15a83c425ff31e4da6b004bd4557d528b755 (diff)
downloadgit-b1c71b72815cb82a8bad14020a047320b88a04eb.zip
git-b1c71b72815cb82a8bad14020a047320b88a04eb.tar.gz
git-b1c71b72815cb82a8bad14020a047320b88a04eb.tar.bz2
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/cvs-migration.txt')
0 files changed, 0 insertions, 0 deletions