]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.c
use fspathhash() everywhere
authorRené Scharfe <l.s.r@web.de>
Fri, 30 Jul 2021 19:06:58 +0000 (21:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jul 2021 19:14:27 +0000 (12:14 -0700)
commit74318423259b265cf95112355be254fa21d4a6f9
tree08bf1af2853a7ed4b57c8f148b28fa62899d1378
parent940fe202adcbf9fa1825c648d97cbe1b90d26aec
use fspathhash() everywhere

cf2dc1c238 (speed up alt_odb_usable() with many alternates, 2021-07-07)
introduced the function fspathhash() for calculating path hashes while
respecting the configuration option core.ignorecase.  Call it instead of
open-coding it; the resulting code is shorter and less repetitive.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/sparse-checkout.c
dir.c
merge-recursive.c