The protocol requires that the fetcher signals to the remote that it is done with the fetching process, so that the remote can exit out of its upload-pack process. The first change is that the `done` signal can happen before the validation, since nothing else needs to be fetched. The second change is that the fetcher does not care if the remote responds to this signal since it has the data required for validation and applying the changes to its refdb. Thus, if an error is encountered then it is logged, but the rest of the process proceeds as normal. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||