dir: use fspathncmp() in pl_hashmap_cmp()
commitf7669676d0e9aedd814645ca82a5b86980fb7740
authorJeff King <peff@peff.net>
Sat, 8 Oct 2022 11:05:43 +0000 (8 13:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Oct 2022 05:09:03 +0000 (8 22:09 -0700)
treea584eef804eb425750a451a9c2acacd25b3a9cc6
parenta0feb8611d4c0b2b5d954efe4e98207f62223436
dir: use fspathncmp() in pl_hashmap_cmp()

Call fspathncmp() instead of open-coding it.  This shortens the code and
makes it less repetitive.

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