Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows-related -c options in match_baseline_files #1871

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ gix-glob::glob pattern::matching::compare_baseline_with_ours
gix-pathspec::pathspec parse::baseline
gix-pathspec::pathspec parse::valid::glob_negations_are_always_literal
gix-pathspec::pathspec parse::valid::whitespace_in_pathspec
gix-pathspec::pathspec search::files
gix-pathspec::pathspec search::prefixes_are_always_case_sensitive
gix-submodule::submodule file::baseline::common_values_and_names_by_path
gix-submodule::submodule file::is_active_platform::pathspecs_matter_even_if_they_do_not_match
gix-submodule::submodule file::is_active_platform::submodules_with_active_config_are_considered_active_or_inactive
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions gix-pathspec/tests/fixtures/match_baseline_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ git update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" "!a"
for p in bar bAr BAR foo/bar foo/bAr foo/BAR fOo/bar fOo/bAr fOo/BAR FOO/bar FOO/bAr FOO/BAR; do
git -c core.ignoreCase=false update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" "$p"
done
git -c core.ignoreCase=false update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" " " # 4 x space
git -c core.ignoreCase=false update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" " hi " # 2 x space hi 2 x space
git -c core.protectNTFS=false update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" " " # 4 x space
git -c core.protectNTFS=false update-index --add --cacheinfo 100644 "$(git rev-parse HEAD:goo)" " hi " # 2 x space hi 2 x space

git ls-files > paths

Expand Down
Loading