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