From 0047dd2fd1fc1980913901c5fa098357482c2842 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Thu, 15 May 2008 07:19:54 +0200 Subject: t0050: Fix merge test on case sensitive file systems On a case sensitive filesystem, "git reset --hard" might refuse to overwrite a file whose name differs only by case, even if core.ignorecase is set. It is not clear which circumstances cause this behavior. This commit simply works around the problem by removing the case changing file before running "git reset --hard". Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- t/t0050-filesystem.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh index 0e33c4bdc7..c5360e23d9 100755 --- a/t/t0050-filesystem.sh +++ b/t/t0050-filesystem.sh @@ -72,6 +72,8 @@ $test_case 'rename (case change)' ' $test_case 'merge (case change)' ' + rm -f CamelCase && + rm -f camelcase && git reset --hard initial && git merge topic -- cgit v1.2.3