source: git/branches/dmik/t/t7062-wtstatus-ignorecase.sh@ 782

Last change on this file since 782 was 782, checked in by dmik, 11 years ago

git: Merge version 2.0.0 from vendor to dmik branch.

  • Property svn:eol-style set to native
File size: 444 bytes
Line 
1#!/bin/sh
2
3test_description='git-status with core.ignorecase=true'
4
5. ./test-lib.sh
6
7test_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
10 mkdir V &&
11 mkdir V/XQANY &&
12 mkdir WURZAUP &&
13 touch V/XQANY/test &&
14 git config core.ignorecase true &&
15 git add . &&
16 # test is successful if git status completes (no endless loop)
17 git status
18'
19
20test_done
Note: See TracBrowser for help on using the repository browser.