]> git.99rst.org Git - git.git/commit
dir: use fspathncmp() in pl_hashmap_cmp()
authorJeff King <redacted>
Sat, 8 Oct 2022 11:05:43 +0000 (13:05 +0200)
committerJunio C Hamano <redacted>
Sun, 9 Oct 2022 05:09:03 +0000 (22:09 -0700)
commitf7669676d0e9aedd814645ca82a5b86980fb7740
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
dir.c
git clone https://git.99rst.org/PROJECT