1#!/bin/sh
23
test_description='git-status with core.ignorecase=true'
45
. ./test-lib.sh
67
test_expect_success 'status with hash collisions' '
8# note: "V/", "V/XQANY/" and "WURZAUP/" produce the same hash code
9# in name-hash.c::hash_name
10mkdir V &&
11mkdir V/XQANY &&
12mkdir WURZAUP &&
13touch V/XQANY/test &&
14git config core.ignorecase true &&
15git add . &&
16# test is successful if git status completes (no endless loop)
17git status
18'
1920
test_done