]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
send-pack: rename ref_update_to_be_sent to check_to_send_update
authorStefan Beller <sbeller@google.com>
Thu, 8 Jan 2015 03:23:21 +0000 (19:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2015 03:56:44 +0000 (19:56 -0800)
commit7582e9397c5b49de10a138a4f477a38b4ed1b3ab
tree5cb128a47be7dc693b843865f1fabd25f09558c1
parent1b70fe5d305462f1dd4b9d6233a2f4cb98e3a581
send-pack: rename ref_update_to_be_sent to check_to_send_update

This renames ref_update_to_be_sent to check_to_send_update and inverts
the meaning of the return value. Having the return value inverted we
can have different values for the error codes. This is useful in a
later patch when we want to know if we hit the CHECK_REF_STATUS_REJECTED
case.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-pack.c