On Fri, May 15, 2020 at 12:04:52PM +0200, Christian Couder wrote: > As we cleanup 'upload-pack.c' by using 'struct upload_pack_data' > more thoroughly, let's remove the 'stateless_rpc' static > variable, as we can now use the field of 'struct upload_pack_data' > with the same name instead. OK, here's where all of the struct passing in the previous commits begins to pay off, as we get to start deleting globals: > static int use_sideband; > -static int stateless_rpc; > static const char *pack_objects_hook; Definitely a positive direction, and it should be obvious that all of the appropriate spots have been converted because the old variable goes away. -Peff