mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 12:25:34 +00:00
Merge remote-tracking branch 'origin/main' into users/cory-miller/deps
This commit is contained in:
commit
fa9d9e68de
7 changed files with 35 additions and 6 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -590,6 +590,8 @@ class GitCommandManager {
|
|||
disableSparseCheckout() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
yield this.execGit(['sparse-checkout', 'disable']);
|
||||
// Disabling 'sparse-checkout` leaves behind an undesirable side-effect in config (even in a pristine environment).
|
||||
yield this.tryConfigUnset('extensions.worktreeConfig', false);
|
||||
});
|
||||
}
|
||||
sparseCheckout(sparseCheckout) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue