diff options
author | Russell Belfer <rb@github.com> | 2013-03-10 21:04:35 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-03-10 21:04:35 -0700 |
commit | a03beb7ba6017181c29d77e64112e4730f690271 (patch) | |
tree | a50a322ad170aa491a315bde682b3022e7bd04ef /src/commit.c | |
parent | e40f1c2d23c3758968df94a17831ec5432ae6988 (diff) | |
download | libgit2-a03beb7ba6017181c29d77e64112e4730f690271.tar.gz |
Add tests for case insensitive tree iterator
This adds a test case for ci tree iteration when there is a name
conflict. This points out a behavior quirk in the current version
that I'd like to fix - namely, all tree entries get mapped to one
version of the case pattern in the ci code - i.e. even if you have
A/1.txt and a/2.txt, both will be reported as a/1.txt and a/2.txt
because we only copy the name of a file at a given frame once. It
would be nice to fix this, but I'm worried about how complex that
is if you get a/B/c/1.txt and A/b/C/2.txt. It may require a walk
up the frames whenever you advance to the next item in a blended
equivalence class.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions