]> git.ipfire.org Git - thirdparty/git.git/commit
diff-lib: drop unused index argument from get_stat_data()
authorJeff King <peff@peff.net>
Sat, 17 Aug 2024 07:29:49 +0000 (03:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Aug 2024 16:44:41 +0000 (09:44 -0700)
commit72c9793c154edbde16085f0f04db970e082c7f0b
tree87ca5ea00ce7484fb51a263712b55c8952938a8c
parent4d7de2cf6e4dd453b0aa1760703728b2fdb75b45
diff-lib: drop unused index argument from get_stat_data()

The "struct index_state" parameter passed to get_stat_data() has been
unused since we stopped passing it to check_removed() in 6a044a2048
(diff-lib: fix check_removed when fsmonitor is on, 2023-09-11). We can
just drop it, which in turns lets us simplify our callers a bit.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-lib.c