clone: replace strcmp by fspathcmp
authorMatheus Tavares <matheus.bernardino@usp.br>
Wed, 10 Jul 2019 23:59:04 +0000 (20:59 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Jul 2019 20:52:16 +0000 (13:52 -0700)
commitc4d9c506f7a802ed263071c82319098e3fcd0b3e
treebb59eabb1d4f451e8dc842c386e16705dd6feb18
parentff7ccc8c9a6e61a7225c161c743a49ac079f1425
clone: replace strcmp by fspathcmp

Replace the use of strcmp by fspathcmp at copy_or_link_directory, which
is more permissive/friendly to case-insensitive file systems.

Suggested-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c