mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 01:00:16 +03:00
Compare commits
4 commits
76a9f5aad1
...
b463783511
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b463783511 | ||
![]() |
110353ee6c | ||
![]() |
51ffdcdb1d | ||
![]() |
f2738ccb35 |
1 changed files with 8 additions and 6 deletions
|
@ -364,11 +364,13 @@ class GitAuthHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const pattern = regexpHelper.escape(configKey)
|
if (this.settings.submodules) {
|
||||||
await this.git.submoduleForeach(
|
const pattern = regexpHelper.escape(configKey)
|
||||||
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
|
await this.git.submoduleForeach(
|
||||||
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
|
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
|
||||||
true
|
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
|
||||||
)
|
true
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue