mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 12:13:18 +00:00
Merge pull request #3719 from libgit2/ethomson/submodule_status
WD iterator: properly identify submodules
This commit is contained in:
commit
1cac688d3f
@ -34,7 +34,7 @@ static void iterator_set_ignore_case(git_iterator *iter, bool ignore_case)
|
||||
iter->strcomp = ignore_case ? git__strcasecmp : git__strcmp;
|
||||
iter->strncomp = ignore_case ? git__strncasecmp : git__strncmp;
|
||||
iter->prefixcomp = ignore_case ? git__prefixcmp_icase : git__prefixcmp;
|
||||
iter->entry_srch = ignore_case ? git_index_entry_srch : git_index_entry_isrch;
|
||||
iter->entry_srch = ignore_case ? git_index_entry_isrch : git_index_entry_srch;
|
||||
|
||||
git_vector_set_cmp(&iter->pathlist, (git_vector_cmp)iter->strcomp);
|
||||
}
|
||||
|
BIN
tests/resources/submod3/.gitted/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/config
Normal file
BIN
tests/resources/submod3/.gitted/config
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/index
Normal file
BIN
tests/resources/submod3/.gitted/index
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/EIGHT/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/EIGHT/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/EIGHT/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/EIGHT/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/EIGHT/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/EIGHT/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/EIGHT/packed-refs
Normal file
BIN
tests/resources/submod3/.gitted/modules/EIGHT/packed-refs
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/EIGHT/refs/heads/master
Normal file
BIN
tests/resources/submod3/.gitted/modules/EIGHT/refs/heads/master
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/Five/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/Five/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/Five/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/Five/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/Five/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/Five/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/Five/packed-refs
Normal file
BIN
tests/resources/submod3/.gitted/modules/Five/packed-refs
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/Five/refs/heads/master
Normal file
BIN
tests/resources/submod3/.gitted/modules/Five/refs/heads/master
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/FoUr/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/FoUr/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/FoUr/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/FoUr/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/FoUr/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/FoUr/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/FoUr/packed-refs
Normal file
BIN
tests/resources/submod3/.gitted/modules/FoUr/packed-refs
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/FoUr/refs/heads/master
Normal file
BIN
tests/resources/submod3/.gitted/modules/FoUr/refs/heads/master
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/One/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/One/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/One/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/One/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/One/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/One/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/One/packed-refs
Normal file
BIN
tests/resources/submod3/.gitted/modules/One/packed-refs
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/One/refs/heads/master
Normal file
BIN
tests/resources/submod3/.gitted/modules/One/refs/heads/master
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TEN/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/TEN/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TEN/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/TEN/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TEN/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/TEN/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TEN/packed-refs
Normal file
BIN
tests/resources/submod3/.gitted/modules/TEN/packed-refs
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TEN/refs/heads/master
Normal file
BIN
tests/resources/submod3/.gitted/modules/TEN/refs/heads/master
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TWO/HEAD
Normal file
BIN
tests/resources/submod3/.gitted/modules/TWO/HEAD
Normal file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TWO/config
Executable file
BIN
tests/resources/submod3/.gitted/modules/TWO/config
Executable file
Binary file not shown.
BIN
tests/resources/submod3/.gitted/modules/TWO/index
Normal file
BIN
tests/resources/submod3/.gitted/modules/TWO/index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user