Disable core.ignoreCase in tests

When core.ignoreCase is set in the global config, hg-fast-export.sh
warns the user and exits. Override this for tests.
This commit is contained in:
Thalia Archibald
2024-07-06 02:46:07 -07:00
parent f947189dcc
commit dd1c8f219b
4 changed files with 7 additions and 3 deletions

View File

@@ -18,7 +18,8 @@ check() {
}
git_create() {
git init -q "$1"
git init -q "$1" &&
git -C "$1" config core.ignoreCase false
}
git_convert() {

View File

@@ -17,7 +17,8 @@ check() {
}
git_create() {
git init -q "$1"
git init -q "$1" &&
git -C "$1" config core.ignoreCase false
}
git_convert() {

View File

@@ -17,6 +17,7 @@ git_clone() {
(
git init -q "$2" &&
cd "$2" &&
git config core.ignoreCase false &&
hg-fast-export.sh --repo "../$1"
)
}

View File

@@ -17,7 +17,8 @@ check() {
}
git_create() {
git init -q "$1"
git init -q "$1" &&
git -C "$1" config core.ignoreCase false
}
git_convert() {