diff options
| author | Christian Couder <christian.couder@gmail.com> | 2020-06-11 14:05:10 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-06-11 13:35:34 -0700 |
| commit | de0e9f74984b9413680e3903c33e270d8a6b5f69 (patch) | |
| tree | d40616cff625750c6d503bbd8aae19e31189d6a3 /commit.c | |
| parent | upload-pack: move shallow_nr to upload_pack_data (diff) | |
| download | git-de0e9f74984b9413680e3903c33e270d8a6b5f69.tar.gz git-de0e9f74984b9413680e3903c33e270d8a6b5f69.zip | |
upload-pack: move extra_edge_obj to upload_pack_data
As we cleanup 'upload-pack.c' by using 'struct upload_pack_data'
more thoroughly, let's move the 'extra_edge_obj' static variable
into this struct.
It is used by code common to protocol v0 and protocol v2.
While at it let's properly initialize and clear 'extra_edge_obj'
in the appropriate 'upload_pack_data' initialization and
clearing functions.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
