summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPablo Sabater <pabloosabaterr@gmail.com>2026-08-08 02:02:18 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-07 18:50:07 -0700
commitd43b4d3fa10ee596c1bb6517f30d6f4daad906e4 (patch)
tree4e3a9b16a84736dfea8ce2db9e85ca3148705ac1 /t/t4013/diff.diff_initial..side
parent62e5104a719bfdb7e536ae9d4a7a816fb6998737 (diff)
fetch-object-info: pass arguments directly instead of a struct
struct object_info_args groups three pointers that already live in the transport and are given to fetch_object_info(). Grouping them into a struct reduces the number of parameters, but it suggests that the three belong together, when they are unrelated and end up being accessed as args->* independently. Drop the struct and pass those parameters directly to fetch_object_info() and send_object_info_request(). This should have no change in behavior. Helped-by: Jeff King <peff@peff.net> Helped-by: Junio C Hamano <gitster@pobox.com> Mentored-by: Karthik Nayak <karthik.188@gmail.com> Mentored-by: Chandra Pratap <chandrapratap3519@gmail.com> Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions