From: Jeff King Date: Thu, 9 May 2019 21:31:39 +0000 (-0400) Subject: receive-pack: drop unused "commands" from prepare_shallow_update() X-Git-Tag: v2.23.0-rc0~140^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c95fc72f47341cf7cf80b3b878cc8d35684bc1e8?ds=inline;hp=c95fc72f47341cf7cf80b3b878cc8d35684bc1e8 receive-pack: drop unused "commands" from prepare_shallow_update() We pass in the list of proposed ref updates to prepare_shallow_update(), but that function doesn't actually need it (and never has since its inception in 0a1bc12b6e4). Only its caller, update_shallow_info(), needs to look at the command list. Let's drop the unused parameter to reduce confusion. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---