diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-08-15 12:29:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-15 13:23:19 -0700 |
commit | b783aa71c096032c02a20f9a41c5f42ce7b914c4 (patch) | |
tree | e87a66fbf29decbf8582080240582de1ed25647d /t/t5702-clone-options.sh | |
parent | ab2b0c908aa1d1643fb15ffca4b943c3add9b945 (diff) | |
download | git-b783aa71c096032c02a20f9a41c5f42ce7b914c4.tar.gz |
send-pack: refactor inspecting and resetting status and sending commands
The main loop over remote_refs list inspects the ref status
to see if we need to generate pack data (i.e. a delete-only push
does not need to send any additional data), resets it to "expecting
the status report" state, and formats the actual update commands
to be sent.
Split the former two out of the main loop, as it will become
conditional in later steps.
Besides, we should have code that does real thing here, before the
"Finally, tell the other end!" part ;-)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5702-clone-options.sh')
0 files changed, 0 insertions, 0 deletions