fetch-pack: return enum from process_acks()
authorJonathan Tan <redacted>
Tue, 28 Apr 2020 00:01:08 +0000 (17:01 -0700)
committerJunio C Hamano <redacted>
Tue, 28 Apr 2020 16:54:48 +0000 (09:54 -0700)
commitd1185aa6fab2c12016e92ac9b9e448984cdc6c5d
treedf49c63739c8cacdbc0b7c6723e5422aacf6dc27
parent7397ca33730626f682845f8691b39c305535611e
fetch-pack: return enum from process_acks()

process_acks() returns 0, 1, or 2, depending on whether "ready" was
received and if not, whether at least one commit was found to be common.
Replace these magic numbers with a documented enum.

Signed-off-by: Jonathan Tan <redacted>
Reviewed-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
fetch-pack.c
git clone https://git.99rst.org/PROJECT