diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-04-27 17:01:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-28 09:54:48 -0700 |
commit | d1185aa6fab2c12016e92ac9b9e448984cdc6c5d (patch) | |
tree | df49c63739c8cacdbc0b7c6723e5422aacf6dc27 /block-sha1 | |
parent | Git 2.25.4 (diff) | |
download | tgif-d1185aa6fab2c12016e92ac9b9e448984cdc6c5d.tar.xz |
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 <jonathantanmy@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'block-sha1')
0 files changed, 0 insertions, 0 deletions