mirror of
https://github.com/frej/fast-export.git
synced 2026-02-26 06:20:42 +01:00
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:
@@ -18,7 +18,8 @@ check() {
|
||||
}
|
||||
|
||||
git_create() {
|
||||
git init -q "$1"
|
||||
git init -q "$1" &&
|
||||
git -C "$1" config core.ignoreCase false
|
||||
}
|
||||
|
||||
git_convert() {
|
||||
|
||||
@@ -17,7 +17,8 @@ check() {
|
||||
}
|
||||
|
||||
git_create() {
|
||||
git init -q "$1"
|
||||
git init -q "$1" &&
|
||||
git -C "$1" config core.ignoreCase false
|
||||
}
|
||||
|
||||
git_convert() {
|
||||
|
||||
1
t/main.t
1
t/main.t
@@ -17,6 +17,7 @@ git_clone() {
|
||||
(
|
||||
git init -q "$2" &&
|
||||
cd "$2" &&
|
||||
git config core.ignoreCase false &&
|
||||
hg-fast-export.sh --repo "../$1"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -17,7 +17,8 @@ check() {
|
||||
}
|
||||
|
||||
git_create() {
|
||||
git init -q "$1"
|
||||
git init -q "$1" &&
|
||||
git -C "$1" config core.ignoreCase false
|
||||
}
|
||||
|
||||
git_convert() {
|
||||
|
||||
Reference in New Issue
Block a user